Re: [Mingw-w64-public] [PATCH 08/12] math: Properly propagate input NANs in a few functions

2019-07-30 Thread Martin Storsjö
On Wed, 31 Jul 2019, sisyphus wrote: Martin, I couldn't locate mingw-w64-crt/math/x86/pow.def.h on the internet (URL ?), Here it is: https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-crt/math/x86/pow.def.h but I assume the patch is concerned with raising a NaN to a po

Re: [Mingw-w64-public] [PATCH 08/12] math: Properly propagate input NANs in a few functions

2019-07-30 Thread Liu Hao
在 2019/7/31 下午1:44, Liu Hao 写道: > 1) `pow(x, 0.0)` returns `0.0`, no matter what `x` is. > Sorry for the typo. The second `0.0` should be `1.0`. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mail

Re: [Mingw-w64-public] [PATCH 08/12] math: Properly propagate input NANs in a few functions

2019-07-30 Thread Liu Hao
在 2019/7/31 下午1:13, sisyphus 写道: > Martin, > Thanks for all your work. > I couldn't locate mingw-w64-crt/math/x86/pow.def.h on the internet (URL ?), > but I assume the patch is concerned with raising a NaN to a power. > Given that raising an input NaN to a power does not always result in a NaN, > i

Re: [Mingw-w64-public] [PATCH 08/12] math: Properly propagate input NANs in a few functions

2019-07-30 Thread sisyphus
Martin, Thanks for all your work. I couldn't locate mingw-w64-crt/math/x86/pow.def.h on the internet (URL ?), but I assume the patch is concerned with raising a NaN to a power. Given that raising an input NaN to a power does not always result in a NaN, it seems a little suspicious that this has com

[Mingw-w64-public] [PATCH 08/12] math: Properly propagate input NANs in a few functions

2019-07-30 Thread Martin Storsjö
While the C99 standard doesn't explicitly require this, the standard says it is recommended (F.9.13). Signed-off-by: Martin Storsjö --- mingw-w64-crt/math/arm-common/remquo.c | 4 mingw-w64-crt/math/arm-common/remquof.c | 4 mingw-w64-crt/math/erfl.c | 3 +++ mingw-w6