Module fixed_point

Module fixed_point 

Source

Enums§

Rounding

Statics§

__SPEC_XDR_TYPE_ROUNDING

Functions§

muldiv
Calculates x * y / denominator with full precision, following the selected rounding direction. Throws if result overflows a i128 or denominator is zero (handles phantom overflow).