This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Processor-specific code
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Vincent Lefevre <vincent+gcc at vinc17 dot org>,Richard Henderson <rth at redhat dot com>,François-Xavier Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>,Steve Kargl <sgk at troutmask dot apl dot washington dot edu>,gcc at gcc dot gnu dot org
- Date: Fri, 15 Apr 2005 18:56:23 +0100
- Subject: Re: Processor-specific code
- Organization: CodeSourcery
- References: <425E80A2.2060104@lcp.u-psud.fr> <20050414173506.GB21378@redhat.com> <20050415174340.GJ5381@ay.vinc17.org>
On Friday 15 April 2005 18:43, Vincent Lefevre wrote:
> On 2005-04-14 10:35:06 -0700, Richard Henderson wrote:
> > All that said, C99 has <fenv.h> to control just about anything you
> > could want about the fpu.
>
> It is not possible to change the rounding precision with <fenv.h>.
That's because it's an x86/m68k specific implementation detail and the
compiler should be setting it for you. gcc doesn't do this because noone
cares enough to implement it.
Paul