fixtof (3) - Linux Manuals
fixtof: Converts a fixed point to floating point. Allegro game programming library.
Command to display fixtof
manual in Linux: $ man 3 fixtof
NAME
fixtof - 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);
Pages related to fixtof
- fixtoi (3) - Converts a fixed point to integer with rounding. Allegro game programming library.
- fixtorad_r (3) - Constant to convert angles in fixed point format to radians. Allegro game programming library.
- fixtan (3) - Fixed point tangent of binary angles. Allegro game programming library.
- fix_filename_case (3) - Converts a filename to a standardised case. Allegro game programming library.
- fix_filename_slashes (3) - Converts all the directory separators to a standard character. Allegro game programming library.
- fixacos (3) - Fixed point inverse cosine lookup table. Allegro game programming library.
- fixadd (3) - Safe function to add fixed point numbers clamping overflow. Allegro game programming library.
- fixasin (3) - Fixed point inverse sine lookup table. Allegro game programming library.