math:ldexp

math:ldexp(
   $y as xs:double,
   $i as xs:integer
) as xs:double

Summary

Returns x*2^i.

Parameters
y The floating-point number to be multiplied.
i The exponent integer.

Example

  math:ldexp(1.333, 10)

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