Garry's Mod Wiki

Garry's Mod Wiki

Description

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) as inf and hence equal to this.

Returns

1 number
The effective infinity.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...