round_toward_zero
Rounds toward zero (truncation).
- Positive numbers round down
- Negative numbers round up
Fully qualified path: cairo_fp::f128::math::rounding::round_toward_zero
fn round_toward_zero(value: Fixed) -> Fixed
Press ← or → to navigate between chapters
Press ? to show this help
Press Esc to hide this help
Rounds toward zero (truncation).
Fully qualified path: cairo_fp::f128::math::rounding::round_toward_zero
fn round_toward_zero(value: Fixed) -> Fixed