Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Hadsell <hadsell@blueskystudios.com>
Subject: Re: floating exception
Date: Tue, 13 Jan 1998 10:09:53 -0500	[thread overview]
Message-ID: <174f24161bd0d54331d62e8e0069829f.axp-list@archive.invalid> (raw)

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

             reply	other threads:[~1998-01-13 15:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-13 15:09 Richard Hadsell [this message]
     [not found] <Pine.SOL.3.91.980114105358.14105A-100000@greco2>
1998-01-14 16:00 ` floating exception Michal Jaegermann
     [not found] <199801132125.WAA03288@stefan.sime.com>
1998-01-13 22:42 ` Michal Jaegermann
1998-01-14 13:29 ` Jerry Feldman
     [not found] <199801132242.PAA03608@ellpspace.math.ualberta.ca>
1998-01-14  9:58 ` Alessandro Mirone
  -- strict thread matches above, loose matches on Subject: below --
1998-01-13 21:25 Stefan Traby
1998-01-13 20:11 Richard Hadsell
1998-01-13 16:03 David Gilbert
1998-01-13 17:18 ` Jerry Feldman
     [not found] <34BB6FB0.1092A7A0@cogency.co.uk>
1998-01-13 15:24 ` Jerry Feldman
1998-01-13 13:44 David Alan Gilbert
     [not found] <Pine.SOL.3.91.980113105530.27582E-100000@greco2>
1998-01-13 13:25 ` Jerry Feldman
1998-01-13 11:00 Alessandro Mirone
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox