Garry's Mod Wiki

Revision Difference

nan#554691

<cat>Dev.Lua</cat> # NaN If <page>nil</page> was supposed to be a number, it would be <page>NaN</page>. This value is generated from heinous 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 ```