The aint variable is WORD sized. To get a larger number back from FP routines. Divide the result by 65536 to get the High Word. This is done before converting to an integer.
HTH,
Darrel
The aint variable is WORD sized. To get a larger number back from FP routines. Divide the result by 65536 to get the High Word. This is done before converting to an integer.
HTH,
Darrel
I should probably mention that if you're using the 24bit FP routines, then it's really only 16bit with an 8bit mantisa. To do what you had originally stated in the other thread, you should be using the 32bit version of the FP routines.
Darrel
Bookmarks