LdExp (open)
Calculates mantissa * pow(2, exponent).
Syntax
LOADLIB "wh::float.whlib";
FLOAT FUNCTION LdExp(FLOAT mantissa, INTEGER exponent)
Parameters
FLOAT mantissa
The FLOAT mantissa
INTEGER exponent
The FLOAT exponent
Return value
FLOAT
@italic mantissa * pow(2, @italic exponent)
Examples
// The FLOAT value will be 3.0
FLOAT f := LdExp(0.75, 2.0);