Math.ldexp

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
BlackNecro (Talk)
(New page: {{LuaFunction |function_name = math.ldexp |arguments = number Fractional, number Exponent |returns = number Number |description = The ma...)

Latest revision as of 00:45, 15 February 2009

Function
Syntaxmath.ldexp( number Fractional, number Exponent )
Description:
The math.ldexp() function takes a normalized number and returns the floating point representation. This is the fractional value multiplied by 2 to the power of the exponent.
Returnsnumber Number




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools