|
Gin
|
Namespaces | |
| namespace | math |
| SIMD-accelerated math utilities for audio DSP. | |
Functions | |
| float | math::pow2 (float v) |
| Computes the square of a value (v²). | |
| float | math::pow4 (float v) |
| Computes the fourth power of a value (v⁴). | |
| float | math::pow8 (float v) |
| Computes the eighth power of a value (v⁸). | |
| float | math::lerp (float a, float b, float t) |
| Linear interpolation between two values. | |
| float | math::min (float a, float b) |
| Returns the minimum of two values. | |
| float | math::max (float a, float b) |
| Returns the maximum of two values. | |
| float | math::minVal (float a) |
| Returns the minimum value (scalar version just returns the input). | |
| float | math::maxVal (float a) |
| Returns the maximum value (scalar version just returns the input). | |