>But I've had other similar issues with floating point >underflows before, and I was wondering if there are >standard checks that people do when working with >floating point in C. I have read several articles >about comparisons and checks for equality, but I'm >wondering if there is more stuff out there. I think you are getting to the point of realising why FPU's like the 8087 family have a register of bits for overflow, NAN etc, which just does not exist when trying to do the equivalent on a PIC, unless the compiler writers provide a specific register in RAM to keep track of these sort of errors. _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist