.\" Automatically generated by Pandoc 3.1.12.1 .\" .TH "al_fixtof" "3" "" "Allegro reference manual" "" .SH NAME al_fixtof \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] double al_fixtof(al_fixed x); .EE .SH DESCRIPTION Converts fixed point to floating point. .PP Example: .IP .EX float result; \f[I]/* This will put 33.33333 into \[ga]result\[aq]. */\f[R] result = al_fixtof(al_itofix(100) / 3); \f[I]/* This will put 16.66666 into \[ga]result\[aq]. */\f[R] result = al_fixtof(al_itofix(100) / 6); .EE .SH SEE ALSO al_ftofix(3), al_itofix(3), al_fixtoi(3).