Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >

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 such that the number is equivalent to the mantissa * 2 ^ exponent.

Syntax

Clib.frexp(number, exponent)

Parameter
Description
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.


 Siebel eScript Language Reference 
 Published: 18 April 2003