fix32_t
Declaration
typedef long fix32_t
Prototype In
mgraph.h
Description
Type definition for all standard 32-bit fixed point values used in MGL. Standard fixed point values are 32-bits wide, and represented in 16.16 fixed point format (16 bits of integer, 16 bits of fraction). These numbers can represent signed numbers from +32767.9 to -32768.9.
Note: If you are doing fixed point arithmetic for screen coordinate calculations, be very careful of overflow conditions when doing multiplication operations.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com