[comp.sys.acorn] divide

peterl@ibmpcug.co.uk (Peter Leaback) (03/10/91)

You are requesting a 32/32 divide into 47 bit result. I would question
whether you actually need that accuracy. 

Virtually all real time 3D on microcomputers use 16 bit (or less)
projection accuracy. So I suggest you keep the values you wish to project
within 16 bits. So your divide will look like  (x<<15)/y. If you want
a 32 bit world space, then you can do simple maths to still keep
projections within the 16bit range.

Regards,
        Pete Leaback.
.
-- 
Automatic Disclaimer:
The views expressed above are those of the author alone and may not
represent the views of the IBM PC User Group.
--