GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FIXFLOOR (3)

NAME

fixfloor - Returns the greatest integer not greater than x. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

int fixfloor(fixed x);

DESCRIPTION

Returns the greatest integer not greater than x. That is, it rounds towards negative infinity. Example:

   int result;
   /* This will put 33 into ‘result’. */
   result = fixfloor(itofix(100) / 3);
   /* And this will round down to 16. */
   result = fixfloor(itofix(100) / 6);

SEE ALSO

fixtoi(3), fixceil(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro FIXFLOOR (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.