C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
sqrt, _sqrtl
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     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.
                                    -♦-