Type Number Library math.* Revision Current Public Release (2018.3326) 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 |