Garry's Mod Wiki

Revision Difference

nan#548585

<cat>Dev.Lua</cat>⤶ # NaN If `nil` was supposed to be a number, it would be `NaN`. This value is generated from henious math operations such as the following: ```lua local NaN = 0 / 0 ``` This is not to be confused with infinity (which for some reason is confused with). ```lua local Infinity = math.huge or 1 / 0 ```