And like everything else, its a tradeoff. I'd like to use the dsPIC because I can use the GNU math libraries and a preemtive RTOS, but then I'm looking at 10+ mA just for the processor. There's no such thing as perfection :-( Bruce Partridge http://www.rebreather.ca > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu]On Behalf > Of Alan B. Pearce > Sent: Thursday, November 04, 2004 6:58 AM > To: Microcontroller discussion list - Public. > Subject: Re: [PIC]fwd: Floating Point Underflows and Overflows > > > >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 > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.786 / Virus Database: 532 - Release Date: 10/29/2004 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.786 / Virus Database: 532 - Release Date: 10/29/2004 _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist