From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <174f24161bd0d54331d62e8e0069829f.axp-list@archive.invalid> X-Archive-Original-Message-ID: <9801131325.AA14716@sauron.zk3.dec.com> Date: Tue, 13 Jan 1998 10:09:53 -0500 From: Richard Hadsell Subject: Re: floating exception Alessandro Mirone wrote: > > Hi people, > > I get "floating exceptions" (and core dump) from some programs > that gave NaN when compiled on a PC-Linux. > Could someone give me somt tips about how > to deal with it? a solution of course would be checking the > values before doing mathematical operations. > But apart that could I use some compilation switch to get NaN > and avoid crashing the programs? > Any help is appreciated > bye Have you tried compiling with "-mieee"? It worked for me, for similar problems. If your program fails to compile because of an internal compiler error, you may have to reduce the optimization level. But it probably won't -- I'm running on an alpha. -- Dick Hadsell 914-381-8400 Fax: 914-381-9790 Reply-to: hadsell@blueskystudios.com Blue Sky | VIFX http://www.blueskystudios.com 1 South Road, Harrison, NY 10528 -- 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