Signed-off-by: Piotr Caban piotr@codeweavers.com --- configure.ac | 1 - dlls/msvcrt/math.c | 9 ++++++++- dlls/msvcrt/unixlib.c | 13 ------------- dlls/msvcrt/unixlib.h | 1 - 4 files changed, 8 insertions(+), 16 deletions(-)
Piotr Caban piotr@codeweavers.com writes:
Signed-off-by: Piotr Caban piotr@codeweavers.com
configure.ac | 1 - dlls/msvcrt/math.c | 9 ++++++++- dlls/msvcrt/unixlib.c | 13 ------------- dlls/msvcrt/unixlib.h | 1 - 4 files changed, 8 insertions(+), 16 deletions(-)
This breaks the tests:
tools/runtest -q -P wine -T . -M d3dx9_36.dll -p dlls/d3dx9_36/tests/d3dx9_36_test.exe effect && touch dlls/d3dx9_36/tests/effect.ok effect.c:259: Tests skipped: Failed to compile effect, skipping test. effect.c:4680: Test failed: Operation reladdr, component 0, expected 0xc00ccccd, got 0 (0). effect.c:4680: Test failed: Operation reladdr, component 1, expected 0x3f800000, got 0x40800000 (4). effect.c:4680: Test failed: Operation reladdr, component 3, expected 0x41200000, got 0 (0). effect.c:4680: Test failed: Operation reladdr2, component 0, expected 0, got 0x45052000 (2130). effect.c:4680: Test failed: Operation reladdr2, component 1, expected 0, got 0x40800000 (4). effect.c:4680: Test failed: Operation reladdr2, component 2, expected 0x447ac000, got 0x447a4000 (1001). effect.c:4680: Test failed: Operation reladdr2, component 3, expected 0x40000000, got 0x3f800000 (1). effect.c:5466: Test failed: Operation reladdr, component 0, expected 0xc00ccccd, got 0 (0). effect.c:5466: Test failed: Operation reladdr, component 1, expected 0x3f800000, got 0x40800000 (4). effect.c:5466: Test failed: Operation reladdr, component 3, expected 0x41200000, got 0 (0). effect.c:5466: Test failed: Operation reladdr2, component 0, expected 0, got 0x45052000 (2130). effect.c:5466: Test failed: Operation reladdr2, component 1, expected 0, got 0x40800000 (4). effect.c:5466: Test failed: Operation reladdr2, component 2, expected 0x447ac000, got 0x447a4000 (1001). effect.c:5466: Test failed: Operation reladdr2, component 3, expected 0x40000000, got 0x3f800000 (1). effect.c:5466: Test failed: Operation reladdr, component 0, expected 0xc00ccccd, got 0 (0). effect.c:5466: Test failed: Operation reladdr, component 1, expected 0x3f800000, got 0x40800000 (4). effect.c:5466: Test failed: Operation reladdr, component 3, expected 0x41200000, got 0 (0). effect.c:5466: Test failed: Operation reladdr2, component 0, expected 0, got 0x45052000 (2130). effect.c:5466: Test failed: Operation reladdr2, component 1, expected 0, got 0x40800000 (4). effect.c:5466: Test failed: Operation reladdr2, component 2, expected 0x447ac000, got 0x447a4000 (1001). effect.c:5466: Test failed: Operation reladdr2, component 3, expected 0x40000000, got 0x3f800000 (1). effect.c:5971: Test failed: Test 0, component 0, expected 0 (0), got 0x447a4000 (1001). effect.c:5971: Test failed: Test 0, component 2, expected 0x3f800000 (1), got 0 (0). effect.c:5971: Test failed: Test 0, component 3, expected 0 (0), got 0x457a3000 (4003). effect.c:5971: Test failed: Test 1, component 0, expected 0x447ac000 (1003), got 0x447a4000 (1001). effect.c:5971: Test failed: Test 1, component 2, expected 0x3f800000 (1), got 0 (0). effect.c:5971: Test failed: Test 1, component 3, expected 0 (0), got 0x457a3000 (4003). etc...
Hi Alexandre,
The rint() implementation is broken (the 1st patch in the series is wrong).
Thanks, Piotr