Path: utzoo!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decprl!corton!mcsun!ukc!slxsys!ibmpcug!peterl From: peterl@ibmpcug.co.uk (Peter Leaback) Newsgroups: comp.sys.acorn,eunet.micro.acorn,connect.audit Subject: Re: divide Message-ID: <1991Mar10.142208.10663@ibmpcug.co.uk> Date: 10 Mar 91 14:22:08 GMT Organization: The IBM PC User Group, UK. Lines: 19 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. --