|
| i64 | divideWhiteQ16 (i32 numerator, i32 denominator) FL_NO_EXCEPT |
| | (numerator << 16) / denominator as s16.16, kept in i64.
|
| |
| bool | narrowTotalForPair (const SplitBound &lower, const SplitBound &upper, i64 *low, i64 *high) FL_NO_EXCEPT |
| | The totals at which lower <= upper holds, narrowed into [*low, *high].
|
| |
| SplitBound | normalizedSplitBound (i32 numerator, i32 slope, i32 denominator) FL_NO_EXCEPT |
| | Fold a negative denominator into the numerator and slope, so every bound compares the same way round.
|
| |
| i32 | scaleWhiteQ16 (i32 value, i32 factor) FL_NO_EXCEPT |
| | Scale an s16.16 value by an s16.16 factor, rounding to nearest.
|
| |
| i64 | splitBoundAt (const SplitBound &bound, i64 total) FL_NO_EXCEPT |
| | value at total s, in s16.16.
|
| |
| bool | splitBoundInRange (const SplitBound &bound) FL_NO_EXCEPT |
| | Whether every part of a bound stays inside the range the accumulators were sized for.
|
| |