- 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
-
© Apple Computer, Inc.
6 JUL 1996