Module Math Inheritance graph "___Math" Math Inherit "___Math" inherit "___Math" : "___Math" Constant e constant Math.e Description The constant e (2.7182818284590452354). Constant inf constant Math.inf Description Floating point infinity. Constant nan constant Math.nan Description Floating point not-a-number (e.g. inf/inf). See also Float.isnan() Constant pi constant Math.pi Description The constant pi (3.14159265358979323846).