Loading TOC...

math.ldexp

math.ldexp(
   $y as Number,
   $i as Number
) as Number

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

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.