.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_fixfloor" "3" "" "Allegro reference manual" .SH NAME al_fixfloor \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] int al_fixfloor(al_fixed x); .EE .SH DESCRIPTION Returns the greatest integer not greater than x. That is, it rounds towards negative infinity. .PP Example: .IP .EX int result; \f[I]/* This will put 33 into \[ga]result\[aq]. */\f[R] result = al_fixfloor(al_itofix(100) / 3); \f[I]/* And this will round down to 16. */\f[R] result = al_fixfloor(al_itofix(100) / 6); .EE .SH SEE ALSO al_fixtoi(3), al_fixceil(3).