Math.frexp
From Data Realms Wiki
(Difference between revisions)
BlackNecro (Talk)
(New page: {{LuaFunction |function_name = math.frexp |arguments = number Number |returns = number Fractional, number Exponent |description = The ma...)
(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 | |
---|---|
Syntax | math.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. | |
Returns | number Fractional, number Exponent |
Example | |
---|---|
Description | Placeholder! |
Code |
|
Output | Placeholder! |