MathSqrt

Returns the square root of a number.

double  MathSqrt(
   double  value      // positive number
   );

Parameters

value

[in]  Positive numeric value.

Return Value

Square root of value. If value is negative, MathSqrt returns NaN (indeterminate value).

Note

Instead of MathSqrt() you can use sqrt().

See also

Real types (double, float)