* System calls for setting ieee fp traps
@ 1999-01-08 22:24 Neil Carlson
1999-01-09 0:19 ` Michal Jaegermann
0 siblings, 1 reply; 2+ messages in thread
From: Neil Carlson @ 1999-01-08 22:24 UTC (permalink / raw)
To: axp-list
Does linux (alpha and intel) provide IEEE standard library routines
for controlling IEEE fp exceptions (e.g., set_ieee_exception) and
fp arithmetic (e.g., set_ieee_rounding_mode)? I'm aware that much
of this can be controlled _globally_ via compiler flags; this isn't
what I'm after. I've been poking around on my alpha/linux box and
can't find anything.
Thanks!
------------------------------------------------------------------------
Neil N. Carlson nnc@lanl.gov (work)
Theoretical Division nnc@roadrunner.com (non-work)
Group T-1, Mailstop B221
Los Alamos National Laboratory 505-665-1220 (voice)
Los Alamos, NM 87545 505-665-5757 (fax)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: System calls for setting ieee fp traps
1999-01-08 22:24 System calls for setting ieee fp traps Neil Carlson
@ 1999-01-09 0:19 ` Michal Jaegermann
0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 1999-01-09 0:19 UTC (permalink / raw)
To: axp-list
Neil Carlson wrote:
>
> Does linux (alpha and intel) provide IEEE standard library routines
> for controlling IEEE fp exceptions (e.g., set_ieee_exception) and
> fp arithmetic (e.g., set_ieee_rounding_mode)?
Look at /usr/include/asm/fpu.h. You will find there
ieee_set_fp_control(). I am afraid that this header is the whole
documentation there is (or I missed something?).
AFAIK you will have to use -mieee compiler flag before any of that
will have any effect.
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-01-09 0:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-08 22:24 System calls for setting ieee fp traps Neil Carlson
1999-01-09 0:19 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox