Man Linux: Main Page and Category List

NAME

       exfixed - Using fixed point maths. Allegro game programming library.

SYNOPSIS

       #include <allegro.h>

       Example exfixed

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.

SEE ALSO

       END_OF_MAIN(3alleg),   allegro_init(3alleg),   allegro_message(3alleg),
       fixdiv(3alleg),   fixed(3alleg),    fixmul(3alleg),    fixsqrt(3alleg),
       fixtof(3alleg), ftofix(3alleg), itofix(3alleg)