Commit [9602ef]  Maximize  Restore  History

sqrt.patch from bug #567

Using an old version of mingw-w64 (last updated May 2015),
calling sqrt(-1.0) would return NaN (the expected result).
After updating to the current version, it returns -1.0.

It looks like this bug was introduced by commit 6617eb.

Signed-off-by: Martin Whitaker <>
Signed-off-by: Kai Tietz <>
Signed-off-by: Jonathan Yong <>
(cherry picked from commit a511b58278c51ba10ae613b9b68c8664219d090d)

Mateusz Mateusz 2017-02-17

Jonathan Yong Jonathan Yong 2017-02-17

changed mingw-w64-crt/math/sqrt.def.h
mingw-w64-crt/math/sqrt.def.h Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks