FixedBinary.mul

FixedBinary mul(FixedBinary rhs, RoundingMode mode = RoundingMode.NEAREST_EVEN) const @safe pure nothrow @nogc

Fixed-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

rhsthe other fixed-point factor.
modehow the discarded low bits round.

Returns

The product, wrapping after rounding.