Math (math)

Constants (constants)

pi

The mathematical constant π = 3.141592..., to available precision.

 

{ }
[{"paths":[],"data":{"math":"math","call":"math.constants.pi","math.constants.pi":"pi","uuid":"071651f79538c5be3173b651cc9bcb7e","args":{},"height":32,"width":120,"step":"pi","data_to_var":"pi","y":0,"x":0,"type":"library","maxpaths":1}}]

Example Response

{"pi":3.141592653589793}

e

The mathematical constant e = 2.718281..., to available precision.

 

{ }
[{"paths":[],"data":{"math":"math","call":"math.constants.e","math.constants.e":"e","uuid":"071651f79538c5be3173b651cc9bcb7e","args":{},"height":32,"width":120,"step":"e","data_to_var":"e","y":0,"x":0,"type":"library","maxpaths":1}}]

Example Response

{"e":2.718281828459045}

inf

Infinity.

 

{ }
[{"paths":[],"data":{"math":"math","call":"math.constants.inf","math.constants.inf":"inf","uuid":"071651f79538c5be3173b651cc9bcb7e","args":{},"height":32,"width":120,"step":"e","data_to_var":"inf","y":0,"x":0,"type":"library","maxpaths":1}}]

Example Response

{"inf":"inf"}