GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SQRTL (3)

NAME

cbrt, cbrtf, cbrtl, sqrt, sqrtf, sqrtl - cube root and square root functions

CONTENTS

Library
Synopsis
Description
Return Values
See Also
Standards
History

LIBRARY


.Lb libm

SYNOPSIS


.In math.h double cbrt double x float cbrtf float x long double cbrtl long double x double sqrt double x float sqrtf float x long double sqrtl long double x

DESCRIPTION

The cbrt, cbrtf, and cbrtl functions compute the cube root of x.

The sqrt, sqrtf, and sqrtl functions compute the non-negative square root of x.

RETURN VALUES

The cbrt, cbrtf, and cbrtl functions return the requested cube root. The sqrt, sqrtf, and sqrtl functions return the requested square root unless an error occurs. An attempt to take the sqrt of negative x raises an invalid exception and causes an NaN to be returned (except that the square root of -0 is valid and equal to -0.)

SEE ALSO

fenv(3), math(3)

STANDARDS

The cbrt, cbrtf, cbrtl, sqrt, sqrtf, and sqrtl functions conform to -isoC-99.

HISTORY

The cbrt function appeared in BSD 4.3 . The sqrtl function appeared in
.Fx 8.0 . The cbrtl function appeared in
.Fx 9.0 .
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.