From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4efe14ca72568d3ff1929c307c621814.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199612151927.LAA04531@montana.nwlink.com> Date: Sun, 15 Dec 1996 17:33:54 -0500 (EST) From: David R. McGown Subject: RE: Floating point exception In-Reply-To: I ran into the same problem trying to compile the beta of XFMail-0.5. I was getting a FPE in a section of code using a similar test to DBL_MIN. The XFMail developer suggested using "DBL_MIN * 2", which worked in my case. David On 15-Dec-96 Dan McGuirk wrote: >Anyone know why this program causes a floating point exception on the >Alpha? > > >#include > >int main() >{ > double a = 4.5; > > if(a > DBL_MIN) { > return 1; > } > > return 0; >} > >-- dmcgown@access.digex.net David R. McGown dmcgown@va.gibbscox.com -o-O-o- LINUX INSIDE! Home: (703)683-1599 206 Adams Ave ALPHA GENERATION! Work: (703)416-1240 Alexandria, VA 22301 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com