Query: fixtoi
OS: linux
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
fixtoi(3alleg4) Allegro manual fixtoi(3alleg4)NAMEfixtoi - Converts a fixed point to integer with rounding. Allegro game programming library.SYNOPSIS#include <allegro.h> int fixtoi(fixed x);DESCRIPTIONConverts fixed point to integer, rounding as required to the nearest integer. Example: int result; /* This will put 33 into `result'. */ result = fixtoi(itofix(100) / 3); /* But this will round up to 17. */ result = fixtoi(itofix(100) / 6);SEE ALSOitofix(3alleg4), ftofix(3alleg4), fixtof(3alleg4), fixfloor(3alleg4), fixceil(3alleg4), ex12bit(3alleg4), ex3buf(3alleg4), ex3d(3alleg4), exblend(3alleg4), excustom(3alleg4), exlights(3alleg4), exspline(3alleg4), exstars(3alleg4), exupdate(3alleg4) Allegro version 4.4.2 fixtoi(3alleg4)
Related Man Pages |
---|
itofix(3alleg4) - debian |
fixtoi(3alleg4) - suse |
fixtoi(3alleg4) - mojave |
fixtoi(3alleg4) - redhat |
fixtoi(3alleg4) - freebsd |
Similar Topics in the Unix Linux Community |
---|
integer arrays |
Uregnet help |