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