Re: [Mingw-w64-public] [PATCH] unknownbase.idl: Declare IUnknown proxy and stubs in C variant as well.

2022-06-14 Thread LIU Hao
在 2022/6/14 00:33, Jacek Caban 写道: Signed-off-by: Jacek Caban ---  mingw-w64-headers/include/unknwnbase.idl | 12 ++--  1 file changed, 6 insertions(+), 6 deletions(-) LGTM. THanks. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital signature __

[Mingw-w64-public] [PATCH] headers: Add new symbols in winnt.h

2022-06-14 Thread Biswapriyo Nath
From 39dc5e951809f358c1b20ecf2239ca9a46c946bf Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 15 Jun 2022 11:07:54 +0530 Subject: [PATCH] headers: Add new symbols in winnt.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/winnt.h | 366 -- 1 f

[Mingw-w64-public] mingw-w64 v10.0.0 FTBS for 32-bit gcc 9.5.0 msvcrt Windows 10 Pro w/MSYS2

2022-06-14 Thread Allen Hewes
Hi, I am getting a redefinition of 'vsnprintf' when trying to build a 32-bit gcc 9.5.0 (sjlj/posix) with mingw-builds: if [ x"" != x ]; then \ /c/mingw950/i686-950-posix-sjlj-rt_v1000-rev0/build/gcc-9.5.0/./prev-gcc/xgcc -B/c/mingw950/i686-950-posix-sjlj-rt_v1000-rev0/build/gcc-9.5.0/./prev-g

Re: [Mingw-w64-public] fix pow() floating point imprecision

2022-06-14 Thread LIU Hao
在 2022-06-14 16:16, g...@m-labs.hk 写道: mingw pow() is the only platform that gives '1e-9 == 10.**-9' is False in Python. It is mentioned here [1]. The issue mentioned that post got an error more than one one you mentioned in this case. I think this problem is more important than the one you m

Re: [Mingw-w64-public] fix pow() floating point imprecision

2022-06-14 Thread gw
On 2022-06-14 15:40, LIU Hao wrote: 在 2022/6/14 10:04, sisyphus 写道: I think the different results can also be expressed as: (1/3) ^ 5 produces 3f70db20a88f4695 1 / (3 ^ 5) produces 3f70db20a88f4696 The latter is a far less error prone approach, and therefore yields the result that should be

Re: [Mingw-w64-public] fix pow() floating point imprecision

2022-06-14 Thread Martin Storsjö
On Tue, 14 Jun 2022, LIU Hao wrote: 在 2022/6/14 10:04, sisyphus 写道: I think the different results can also be expressed as: (1/3) ^ 5 produces 3f70db20a88f4695 1 / (3 ^ 5) produces 3f70db20a88f4696 The latter is a far less error prone approach, and therefore yields the result that should be pr

Re: [Mingw-w64-public] fix pow() floating point imprecision

2022-06-14 Thread LIU Hao
在 2022/6/14 10:04, sisyphus 写道: I think the different results can also be expressed as: (1/3) ^ 5 produces 3f70db20a88f4695 1 / (3 ^ 5) produces 3f70db20a88f4696 The latter is a far less error prone approach, and therefore yields the result that should be provided for (1 / 3) ^ 5. It's not ea