Loading TOC...

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.