.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_fixtof" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_fixtof - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include double al_fixtof(al_fixed x); \f[R] .fi .SH DESCRIPTION .PP Converts fixed point to floating point. .PP Example: .IP .nf \f[C] float result; /* This will put 33.33333 into \[ga]result\[aq]. */ result = al_fixtof(al_itofix(100) / 3); /* This will put 16.66666 into \[ga]result\[aq]. */ result = al_fixtof(al_itofix(100) / 6); \f[R] .fi .SH SEE ALSO .PP al_ftofix(3alleg5), al_itofix(3alleg5), al_fixtoi(3alleg5).