Math.frexp

From Data Realms Wiki

Revision as of 00:44, 15 February 2009 by BlackNecro (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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