Type Number Library math.* Revision Release 2022.3683 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