FixedBinary.mul
FixedBinary mul(FixedBinary rhs, RoundingMode mode = RoundingMode.NEAREST_EVEN) const @safe pure nothrow @nogcFixed-point multiplication: this × rhs, computed in a proven double-width intermediate (the product is exact before reduction) and rounded back to scale bits per mode. The reduced result wraps into the storage like the underlying integer — the policy of the family, matching the C libraries it serves.
Parameters
rhs | the other fixed-point factor. |
mode | how the discarded low bits round. |
Returns
The product, wrapping after rounding.