exp2 (Function) |
Top Previous Next |
This function will calculate the base-2 exponential function of the argument, 2V.
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 of exponent.
Returns: DOUBLE The exponential value of V. If the value is larger than can be represented, Infinity is returned.
Declaration: FUNCTION exp2 : DOUBLE;
Example: INCLUDE rtcu.inc |