fixtof - Man Page

Converts a fixed point to floating point. Allegro game programming library.

Synopsis

#include <allegro.h>

double fixtof(fixed x);

Description

Converts fixed point to floating point. Example:

   float result;
   
   /* This will put 33.33333 into `result'. */
   result = fixtof(itofix(100) / 3);
   /* This will put 16.66666 into `result'. */
   result = fixtof(itofix(100) / 6);

See Also

ftofix(3), itofix(3), fixtoi(3), exfixed(3), exspline(3), exstars(3)

Referenced By

exfixed(3), exspline(3), exstars(3), fixtoi(3), ftofix(3), itofix(3).

version 4.4.3 Allegro manual