Siebel eScript Language Reference > Siebel eScript Commands > Clib Object Math Methods >
Clib.frexp() Method
This method breaks a number into a normalized mantissa between 0.5 and 1.0 and calculates an integer exponent of 2 so that the number is equivalent to the mantissa * 2 ^ exponent. Syntax
Clib.frexp(number, exponent)
|
|
number |
The number to be operated on |
exponent |
The exponent to use |
Returns
A normalized mantissa between 0.5 and 1.0; otherwise, 0. Usage
This method breaks number into a normalized mantissa between 0.5 and 1.0 and calculates an integer exponent of 2 such that number == mantissa * 2 ^ exponent. A mantissa is the decimal part of a natural logarithm.
|