.\" Automatically generated by Pandoc 2.2.1 .\" .TH "al_fixceil" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_fixceil \- Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include\ int\ al_fixceil(al_fixed\ x); \f[] .fi .SH DESCRIPTION .PP Returns the smallest integer not less than x. That is, it rounds towards positive infinity. .PP Example: .IP .nf \f[C] int\ result; /*\ This\ will\ put\ 34\ into\ `result\[aq].\ */ result\ =\ al_fixceil(al_itofix(100)\ /\ 3); /*\ This\ will\ round\ up\ to\ 17.\ */ result\ =\ al_fixceil(al_itofix(100)\ /\ 6); \f[] .fi .SH SEE ALSO .PP al_fixtoi(3alleg5), al_fixfloor(3alleg5).