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