Skip to content
Flint
Dokumentation

math

modulPaperVelocity

Math functions and constants.

import math

Funktioner 13

Square root.

base raised to exponent.

Angle of the point (x, y) in radians.

Degrees to radians.

Radians to degrees.

Natural logarithm.

e raised to x.

x limited to the range low..high.

Linear interpolation between a and b.

-1, 0 or 1.

Konstanter

math.pi
konstant

3.14159...

math.e
konstant

2.71828...