sqrt (Function) |
Top Previous Next |
This function will calculate the square root of the argument.
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Input: V : DOUBLE Value to calculate the square root of.
Returns: DOUBLE The square root of the value. If the value is less than 0, NaN is returned.
Declaration: FUNCTION sqrt : DOUBLE;
Example: INCLUDE rtcu.inc |