Everything

sqrtf


Calculates the positive square root of a floating-point number.

[Format]

#include <mathf.h>

float sqrtf (float f);

[Parameters]

f Floating-point number for which positive square root is to be computed

[Return values]

Normal: Positive square root of f

Abnormal: Domain error: Returns not-a-number.

[Remarks]

A domain error occurs if f is negative.