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 09:59 AM, Joseph S. Myers wrote:
> Do you then suggest that sysdeps/generic/get-rounding-mode.h should
> translate _FPU_RC_* into FE_* (which might or might not be a no-op
> translation)? It could define FE_* in the case that none are defined; it
> would be cases defining a nonempty proper subset (such as SH and Tile and
> am33) that would need their own get-rounding-mode.h where they didn't
> previously. And would you also eliminate the rounding_mode_t type (since
> FE_* are just ints)?
Yes, translating <fpu_control.h> bits to FE_* bits as a default would good.
Yes, SH and Tile would need a get-rounding-mode.h, but it should be fairly
trivial given that <bits/fenv.h> exists. Ignoring am33 til its relevant.
Yes, I would eliminate rounding_mode_t.
r~