On Thu, 5 Jun 2003, Martijn van Aartrijk wrote: > Unfortunately, yes, I need the precision for more trig math later on. Are you sure? The formula you posted can be optimized to get rid of 32-bit arithmetic. However, depending on relative magnitudes of the variables, the overall result could be less than 1. This may falsely lead you to believe that floating point arithmetic is necessary. I think before we can help, we need to know 1) the magnitude of the variables 2) what (exactly) the output of the formula is for. You mention trig stuff, but is it arctan, sine, or what? When it comes to math, there are many ways to optimize... Scott -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu