>Does anyone know how accurate and/or if there are any bugs in the software >presented in the "Embedded Control Handbook" pgs 5-11 to 5-35 by Frank >Testa. If you have been able to implement this software successfully, please >give me a "e-mail". > >Where can I download pic-related software from the net. > >Cheers >Norman Hi Norman (and everybody else). I've implemented the 32 bit routines and they seem to work ok. Most of the times, the error is on the least significant bit of the 24 bit mantissa. The worst error that I've detected still gives 5 decimal places of accuracy. How did I tested it? Well, I wrote a program in a PC that converts the numbers on the PC (I use Turbo Pascal, type single) to the format used by the routines, send them to a PIC16C84 together with an opcode (add,sub,mul,div,int2fp or fp2int). The PIC then makes the operation and sends back the result. I then convert it to the PC format again, display the result and execute the same operation on the PC and compare the results. On these routines, I've not detected any bug, I just added some code to sign extend the fp2int conversion to make produce a 32 bit signed integer. I dont know if this helps but it may indicate that the author (Frank Testa) probably did the same with the 24 bit routines (i.e. a good job). Fernando Soares