Revision Difference
math.huge#529695
<member category="libraryfunc" type="field" parent="math" name="huge">⤶
<summary>This is NOT a function, it's a variable that effectively represents infinity, in the sense that in any numerical comparison every number will be less than this.
<function name="huge" parent="math" type="libraryfield">⤶
<description>This is NOT a function, it's a variable that effectively represents infinity, in the sense that in any numerical comparison every number will be less than this.
For example, if x is a number, `x > math.huge` will NEVER be true except in the case of overflow (see below).
Lua will consider any number greater than or equal to 2^1024 (the exponent limit of a [double](http://en.wikipedia.org/wiki/Double-precision_floating-point_format)) as `inf` and hence equal to this.</summary>⤶
<return type="number"></return>⤶
</member>
Lua will consider any number greater than or equal to 2^1024 (the exponent limit of a [double](http://en.wikipedia.org/wiki/Double-precision_floating-point_format)) as `inf` and hence equal to this.</description>⤶
<realm>Shared and Menu</realm>⤶
<args>⤶
<arg name="x" type="number">The number to get the absolute value of.</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="number">The effective infinity.</ret>⤶
</rets>⤶
</function>⤶