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.