This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: glibc-2.1 and __setfpucw
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: glibc-2.1 and __setfpucw
- From: Oisin <ofeeley at is2 dot dal dot ca>
- Date: Wed, 3 May 2000 17:30:32 -0300 (ADT)
- cc: cruz at free dot fr
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Hi,
AFAICT the preferred practice for this is to use the macros defined
in fpu_control.h
FPU_SETCW() to set it (use the defines from this header)
FPU_GETCW() to access the fpu environment
The older setfpucw is supposed to be hidden from
the user.
This is desribed in greater detail in the glibc manual (info libc).
Best wishes,
Oisin Feeley
On Wed, 3 May 2000, Tim Prince wrote:
> setfpucw was a glibc-1 specific scheme. glibc-2 has alternate
> schemes, presumably more resembling what C99 or Unix would
> expect. You could still plug in an old setfpucw() but it's no
> longer in favor.
>
> ----- Original Message -----
> From: <cruz@free.fr>
> To: <glibc-linux@ricardo.ecn.wfu.edu>
> Sent: Wednesday, May 03, 2000 7:15 AM
> Subject: glibc-2.1 and __setfpucw
>
>
> > Hi!
> > We are students in fourth year and are parralelising csp.
> > Our problem is:
> > In "fpu_control.h" under linux, there isn't any definition for
> "__setfpucw".
> > do you know where we could find a file containing it?
> > thank you!
> > François & Bruno
>
>