package
0.9.0
Repository: https://github.com/mindera-gaming/go-math.git
Documentation: pkg.go.dev

# Functions

Approximately compares two floating point values and returns true if they are similar.
Clamp restricts the given value to the range defined by the given minimum and maximum values.
Lerp linearly interpolates between two float64, a and b, by amount t.
LerpUnclamped linearly interpolates between two float64, a and b, by amount t.
Max returns the largest number.
Min returns the smallest number.
NormalizeAngle normalizes an angle in radians to the range [-π, π].
QuadraticFormula provides the solution(s) to a quadratic equation.

# Constants

Resolved value: 2.220446049250313e-16 Epsilon64 contains the 64-bit machine epsilon (eps) and gives the distance (gap) between 1 and the next largest 64-bit floating point number.
InvPi contains the 1 / π.