MarkLogic Server 11.0 Product Documentation
math:frexp

math:frexp(
   $x as xs:double
) as (xs:double,xs:integer)

Summary

Returns x broken up into mantissa and exponent, where x = mantissa*2^exponent.

Parameters
x The exponent to be evaluated.

Example

  math:frexp(10) 

  => 0.625
     4
Powered by MarkLogic Server | Terms of Use | Privacy Policy