[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] MinGW-w64 roundl() anomaly
From: |
Greg Chicares |
Subject: |
Re: [lmi] MinGW-w64 roundl() anomaly |
Date: |
Thu, 22 Dec 2016 13:49:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 |
On 2016-12-17 00:40, Greg Chicares wrote:
> On 2016-12-16 01:39, Vadim Zeitlin wrote:
[...]
>> [...] the implementation in glibc (I _think_ this is the one which
>> is used for i386, although it's hard to be sure with the number of aliases
>> and indirections in glibc sources):
>>
>> https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/ieee754/ldbl-96/s_roundl.c
>>
>> FWIW we could probably use the version above as a workaround for now.
>
> That sounds like our best idea
Fixed:
commit b6e4a8f898df454feb5966bcb0797423f99eea1f
and it works for C++'s overloaded std::round() too:
commit b551e76c4da3d84c431c5db75b6f33a7cec1516a