This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Ping Re: Make strtod respect the rounding mode (bug 14518)
On 09/12/2012 08:31 AM, Joseph S. Myers wrote:
> The idea is to have the same set of *names* present in the code
> everywhere, so that code using these values doesn't need to be conditioned
> on which are available on a particular architecture. This includes
> setting the mode to round_tonearest in cases where there is no rounding
> mode support for an architecture and so no FE_* macros are defined at all.
My suggestion then is that those few targets that have no rounding mode
support be required to define the FE_* macros in get-rounding-mode.h.
Given that this header is totally private to the library, they can make
up any values they choose to let the generic parts compile.
r~