This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Darwin long doubles and controlled rounding


Geoffrey Keating wrote:
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().

Thanks for the information. Are there any plans to extend it to support the rounding modes to minus and plus infinity? All the best,

Roberto

--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@cs.unipr.it


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]