On 12/03/2011 16:11, Olin Lathrop wrote: > Michael Watterson wrote: >> > Use fixed point, never floating. > This is bad advice. Use whatever is most appropriate and don't get caugh= t > up in other people's silly superstitions. > You're taking the advice out of context. Well tested C libraries and=20 more appropriate cheap CPUs are available. PIC16/18 are not a natural=20 choice for FP application. Even on x86 before Pentium era, it was good practice to check if you=20 "really" needed FP, as not all 486 had FPU and 386 rarely. Rounding issues can be more easily understood with fixed point. Of course if it's appropriate to use FP, then do. Often on=20 microcontroller there is no need, you have given good examples yourself=20 in the past. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .