logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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);

Name

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

See Also

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

Allegro                                           version 4.4.3                                  fixtof(3alleg4)

Synopsis

#include<allegro.h>doublefixtof(fixedx);

See Also