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