exfixed - Using fixed point maths. Allegro game programming library.
Contents
Description
This program demonstrates how to use fixed point numbers, which are signed 32-bit integers storing the
integer part in the upper 16 bits and the decimal part in the 16 lower bits. This example also uses the
unusual approach of communicating with the user exclusively via the allegro_message() function.
Name
exfixed - Using fixed point maths. Allegro game programming library.
See Also
END_OF_MAIN(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), fixdiv(3alleg4), fixed(3alleg4), fixmul(3alleg4), fixsqrt(3alleg4), fixtof(3alleg4), ftofix(3alleg4), itofix(3alleg4) Allegro version 4.4.3 exfixed(3alleg4)
Synopsis
#include<allegro.h>Exampleexfixed
