sqrtf


Calculates the square root

[Classification]

Mathematical library

[Syntax]

#include <math.h>

float __far sqrtf(float x);

[Return value]

Returns the square root of x.

sqrtf 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.