round_toward_zero
Rounds toward zero (truncation).
Positive numbers round down, negative numbers round up.
Fully qualified path: cairo_fp::f64::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).
Positive numbers round down, negative numbers round up.
Fully qualified path: cairo_fp::f64::math::rounding::round_toward_zero
fn round_toward_zero(value: Fixed) -> Fixed