Syntax
- float sqrt(x)
Parameters
- x—float
Returns
The non-negative square root of x. If x is negative, nan is generated.
Description
The sqrt function calculates the square root of x.
The non-negative square root of x. If x is negative, nan is generated.
The sqrt function calculates the square root of x.