Type Function Library math.* Return value Number Revision Release 2024.3703 Keywords ldexp See also math.frexp()
Returns m*2^e^
where m
containts the significant binary digits and e
is the exponent.
math.ldexp( m, e )
Number. The significand.
Number. The exponent.
print( math.ldexp( 0.5, 8 ) ) ---> 128