Returns the number generated by a normalized fraction and base-2 exponent. Alias for the standard library function math.ldexp.


See also Lua library functions.

Signature:

x = ldexp(m, e)

Arguments:

  • m - A number (number)
  • e - A number (number)

Returns:

  • x - The value of m * 2 ^ e (number)
This function is defined in the Lua standard libraries