sqrtl [V1.08 or later]


Calculates the square root

[Classification]

Mathematical library

[Syntax]

#include <math.h>

long double __far sqrtl(long double x); (C99)

[Return value]

Returns the square root of x.

sqrtl returns a Not-a-Number (NaN) and sets macro EDOM to global variable errno if x is a negative number.

[Description]

This function calculates the square root of x.