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