Math.frexp

From Data Realms Wiki

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

Latest revision as of 00:44, 15 February 2009

Function
Syntaxmath.frexp( number Number )
Description:
The math.frexp() function is used to split the number value into a normalized fraction and an exponent. Two values are returned: the first is a fractional value always in the range 0.5 (inclusive) to 1 (exclusive) and the second is an exponent.
Returnsnumber Fractional, number Exponent




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