al_fixtoi man page on DragonFly

Printed from http://www.polarhome.com/service/man/?qf=al_fixtoi&af=0&tf=2&of=DragonFly

al_fixtoi(3)							  al_fixtoi(3)

NAME
       al_fixtoi - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      int al_fixtoi(al_fixed x);

DESCRIPTION
       Converts	 fixed	point  to integer, rounding as required to the nearest
       integer.

       Example:

		  int result;

		  /* This will put 33 into `result'. */
		  result = al_fixtoi(al_itofix(100) / 3);

		  /* But this will round up to 17. */
		  result = al_fixtoi(al_itofix(100) / 6);

SEE ALSO
       al_itofix(3),  al_ftofix(3),  al_fixtof(3),   al_fixfloor(3),   al_fix‐
       ceil(3).

Allegro reference manual					  al_fixtoi(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net