On Sat, Dec 20, 2008 at 7:37 AM, Ron Kreymborg <r...@jennaron.com.au> wrote:
> The math involved in solving the sun tracking between the sun and the > target > within 0.01 degrees. If you have or have seen a solution that works with > 24-bit floats I would be very interested. For a Sun Tracking application I am making the, possibly invalid, assumption that your numeric range is limited to 0.00 to 359.99. My solution would be to change the domain space. Treat the calculations as a monetary calculation and do all of the math in BCD. Issues of rounding and non-integer math are removed. Ron, on gmail your messages keep coming across as "noname" attachments, might want to check your email client settings. -- http://www.wearablesmartsensors.com/ http://www.softwaresafety.net/ http://www.designer-iii.com/ http://www.unusualresearch.com/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev