Math Library Functions


sqrt, _nsqrtf


Syntax

#include <math.h>
double sqrt(double x);
float _nsqrtf(float x);

Arguments

x      original value 

Return Value

The square root of x 

Description

Calculates the square root of x.


Revision History

6/1/99 Since this function already existed in N64 OS, changed sqrtf in the nustd library to _nsqrtf