ldexp (Function) |
Top Previous Next |
Returns the result of multiplying argument 1 (the significand) by 2 raised to the power of argument 2 (the exponent). ldexp := a * 2b
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Input: A : DOUBLE Significand.
B : DOUBLE Exponent
Returns: DOUBLE The calculated value.
Declaration: FUNCTION ldexp : DOUBLE;
Example: INCLUDE rtcu.inc |