Re: divison by zero trap - sorry
> Looking through the axp-kernel archives I found the solution for the
> problem. There's a system call for that. It is
> the argument is a bit map see FPCR_*** in include/asm-alpha/fpu.h.
> With this call you can enable trapping on a per thread basis.
> Somebody suggested that the default behaviour should be as on Intel
> (trapping disabled for division by zero)
> so this call should probably be included into glibc. (probably this is
> done already and my glibc version is too old ?)
> Well, I don't know enough to say something about this, this was just
> a suggestion, because more people will run into this problem,
> especially when porting math packages.
All wrong, ... just realized that -mieee works ok for divison by
zero. My trap was caused by a multiplication with "Inf".
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .