Darwin long doubles and controlled rounding
Geoffrey Keating
geoffk@apple.com
Tue Apr 4 01:35:00 GMT 2006
Roberto Bagnara <bagnara@cs.unipr.it> writes:
> Hi there,
>
> I have read the files darwin-ldouble* in GCC 4.1.0.
> What I would like do know is whether I can expect
> long doubles on Darwin to comply with ISO C99 7.6
> (Floating-point environment).
They can be made compliant with that section, but it requires
cooperation from the project providing fenv.h.
> I am particularly interested in the possibility
> of setting the rounding mode with fesetround().
> Is this supported?
This implementation only supports one rounding mode, FE_TONEAREST, so
it's not useful to call fesetround().
More information about the Gcc
mailing list