Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!newstop!exodus!exodus-bb!khb From: khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup) Newsgroups: comp.arch Subject: Re: 386 Clones [really: IEEE floating point & various approaches; long] Message-ID: Date: 5 Nov 90 22:04:18 GMT References: <1990Oct26.015244.586@amd.com> <8464@scolex.sco.COM> <42618@mips.mips.COM> <4186@goanna.cs.rmit.oz.au> <42677@mips.mips.COM> Sender: news@exodus.Eng.Sun.COM Organization: Sun MegaSystems Lines: 30 In-reply-to: mash@mips.COM's message of 3 Nov 90 01:37:21 GMT In article <42677@mips.mips.COM> mash@mips.COM (John Mashey) writes: ... 2) People who've built IEEE-based computers who worried about FP have long ago included some approximation or other to full IEEE-signal handlers. I'm sure Sun did; we did, and I'd assume others did also. Maybe somebody from Sun & HP would say what they do. We of course let you turn on/off specific traps, and when you get a SIGFPE, there's a field to tell you which one it was. This is a topic worthy of a long discussion, however I will cop out and note that 800-3555-10 Numerical Computation Guide was our (speaking as member of the fpgroup, I did not actually touch the text much) last best shot at it. The Reader's Digest version is istat=ieee_handler("set",ieee_execption_of_your_choice,handler) The NCG is part of the "normal" languages release, so f77v1.3+, c1.0+, etc. releases should have it tucked into the binder. It is in "binder2" of the Fortran docs, for example. -- ---------------------------------------------------------------- Keith H. Bierman kbierman@Eng.Sun.COM | khb@chiba.Eng.Sun.COM SMI 2550 Garcia 12-33 | (415 336 2648) Mountain View, CA 94043