Mojo module
constants
Defines math utilities.
You can import these APIs from the math
package. For example:
from math import pi
Aliasesβ
- β
e = #kgen.float_literal<27182818284590452353602874713526624977572470936999595749669676277|10000000000000000000000000000000000000000000000000000000000000000>
: The euler constant e = 2.718281... - β
pi = #kgen.float_literal<31415926535897932384626433832795028841971693993751058209749445923|10000000000000000000000000000000000000000000000000000000000000000>
: The mathematical constant Ο = 3.141592... - β
tau = #kgen.float_literal<31415926535897932384626433832795028841971693993751058209749445923|5000000000000000000000000000000000000000000000000000000000000000>
: The mathematical constant Ο = 6.283185.... Tau is a circumference of a circle (2Ο).
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?