Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

floor

Rounds down to the nearest integer (toward negative infinity).

Examples

  • floor(2.9) → 2
  • floor(-2.1) → -3

Fully qualified path: cairo_fp::f128::math::ops::floor

fn floor(a: Fixed) -> Fixed