Module fixed_multiply

Source
Expand description

Multiplication for the fixed-precision arithmetic.

Structs§

FixedMultiply
Multiplication of numbers in fixed precision.

Functions§

is_multiplication_safe_from_overflow
This function checks whether it is safe to multiply INT64 numbers without overflowing or getting close to it. The primary use-case is inside FixedMultiply for the debug mode, but it can also be used in isolation if needed.