Module helpers
Source - MAX_DEC
- find_min_y_abs_for_x_range
- Finds the minimum absolute y-coordinate for a range of x-values, represented by two points.
- fmod_fixed64
- Helper function to calculate the modulo for fixed-point numbers using
I32F32. - gcd_fixed64
- Helper function to calculate the greatest common divisor (GCD) for fixed-point numbers using
I32F32. - gcd_fixed128
- Helper function to calculate the greatest common divisor (GCD) for fixed-point numbers using
I64F64. - gcd_i64
- Helper function to calculate the greatest common divisor (GCD) for signed integers.
- interpolate
- Linearly interpolates a value
t between two points (x1, y1) and (x2, y2). - lcm_fixed64
- Calculate the least common multiple (LCM) for fixed-point numbers using
I32F32. - lcm_fixed128
- Calculate the least common multiple (LCM) for fixed-point numbers using
I64F64. - lcm_i64
- Calculate the least common multiple (LCM) for signed integers.
- normalize_fixed32
- Generalized method to normalize a value within a given range.