sqrt, sqrtl
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The sqrt functions calculate the square root of <x>.
The sqrtl function uses an 80-bit long double form of arguments
and return values. In all other respects, it is identical to the
regular function.
Return Value
The sqrt functions return the square-root result. If <x> is
negative, the function prints a DOMAIN error message to stderr,
sets errno to EDOM, and returns 0.
Error handling can be modified by using the matherr (or _matherrl)
routine.
-♦-