MGL_FixDiv
Divides a fixed point number by another.
Declaration
fix32_t MGLAPI MGL_FixDiv(
fix32_t f,
fix32_t g)
Prototype In
mgraph.h
Return Value
Result of the division.
Description
Divides a fixed point number by another fixed point number. The idea is relatively simple; We want to set up a 64 bit dividend to be divided by our 32 bit divisor, which will give us a new 32 bit result.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com