Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice