sqrtf


Square root function

[Classification]

Mathematical library

[Syntax]

#include <mathf.h>

float sqrtf(float x);

[Return value]

Returns the positive square root of x.

sqrtf returns a Not a Nuber(NaN) and sets macro EDOM to global variable errno if x is a negative real number.

[Description]

This function calculates the square root of x.