Garry's Mod Wiki

Garry's Mod Wiki

  number math.ldexp( number normalizedFraction, number exponent )

Description

Takes a normalised number and returns the floating point representation.

Effectively it returns the result of normalizedFraction * 2.0 ^ exponent. math.frexp is the opposite function.

Arguments

1 number normalizedFraction
The value to get the normalized fraction and the exponent from.
2 number exponent
The value to get the normalized fraction and the exponent from.

Returns

1 number
result

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...