This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: alpha, ia64, hppa ports need get-rounding-mode.h
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-ports at sourceware dot org
- Date: Wed, 12 Sep 2012 22:51:19 -0400
- Subject: Re: alpha, ia64, hppa ports need get-rounding-mode.h
- References: <Pine.LNX.4.64.1209122336470.15730@digraph.polyomino.org.uk>
On Wed, Sep 12, 2012 at 7:39 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> As of commit
>
> commit 6c9b0f68267cf365d060d4e51e7cb8f61498b875
> Author: Joseph Myers <joseph@codesourcery.com>
> Date: Wed Sep 12 23:36:19 2012 +0000
>
> Make strtod respect the rounding mode (bug 14518).
>
> the alpha, ia64 and hppa ports need a get-rounding-mode.h header to define
> how to determine the floating-point rounding mode in libc, since they do
> not have an fpu_control.h header with the functionality needed for
> sysdeps/generic/get-rounding-mode.h to work. There are various examples
> checked in; it's likely that something similar to
> sysdeps/s390/fpu/get-rounding-mode.h, closely following the implementation
> of fegetround, is appropriate.
Noted. Thanks for the pointer.
Cheers,
Carlos.