Type Number Library math.* Revision 2017.3060 Keywords math, inf See also math.huge
Returns a value larger than or equal to any other numerical value.
math.inf
print (1/0) ---> inf print (math.huge) ---> inf print (math.huge / 2) ---> inf print ( -math.huge) ---> -inf print (math.huge/math.huge) ---> nan print (math.huge * 0) ---> nan