Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Operating System Utilities /
Chapter 3 - Mathematical and Logical Utilities / Mathematical and Logical Utilities Reference
Routines


Converting Between Fixed-Point and Integral Values

To convert the quotient of two integers to a Fixed number, you can use the FixRatio function. To obtain the integral portion of a number of type Fixed, typically you just use the HiWord function, described on page 3-33. However, you can also use the FixRound function to obtain the integer nearest a fixed-point number.


Subtopics
FixRatio
FixRound

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996