decimalEq
fn
bool decimalEq(long a, ubyte aScale, long b, ubyte bScale) @safe pure nothrowValue-based equality of two coefficients at their own scales: the smaller scale aligns up; an alignment overflow means the values differ (one magnitude cannot be the other's). Exact - never a FLOAT64 detour (ADR-2026-10-23-14).
Parameters
a | the left coefficient |
aScale | the left scale |
b | the right coefficient |
bScale | the right scale |
Returns
whether the two values are equal.