From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9801141329.AA15812@sauron.zk3.dec.com> Date: Wed, 14 Jan 98 08:29:09 -0500 From: Jerry Feldman Subject: Re: floating exception In-Reply-To: <199801132125.WAA03288@stefan.sime.com> Stefan Traby wrote: > > gcc handles NAN well under i387+ because FPU-exceptions on an intel > can be masked. I don't know it, but your posting makes me think > that masking is not possible on AXP, so this info-file is simply > outdated because it depends on FPUs where exceptions may be masked. > Is this assumption correct ? > If it's correct than "-mieee" means libm installs a SIGFPE handler itself and > fakes errno, but without "-mieee", SIGFPE is passed to the app ? > I'm in panic for now. If SIGFPE cannot be avoided at all > (ok, it can, SIG_IGN, -mieee), fp-pthreads programming must be near to hell.) This assumption is NOT correct. The Alpha has a fast floating point mode which is the default. The -mieee causes the compiler to generate floating point instructions with the /S modifier. It is generally the kernel that handles software completion, not the math library. +--------------------------------------------------------------------+ Jerry Feldman Digital Unix Development Environment Digital Equipment Corp. (work)gaf@zk3.dec.com (home)gaf@mediaone.net 110 Spitbrook Rd. Mailstop: ZKO3-2/W17 Nashua, NH 03062-9987 (603)884-2970, DTN:264-2970 +--------------------------------------------------------------------+ -- 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