sqrt [function]
sqrt( x )
returns the square root of x
, as real
- If
x
is negative, function returnsnull
and emits a warning message.
sqrt( 16 ); // real (4) sqrt( -1 ); // null; Warning: sqrt(): mathematical error
x
, as real
x
is negative, function returns null
and emits a warning message.sqrt( 16 ); // real (4) sqrt( -1 ); // null; Warning: sqrt(): mathematical error