Mercurial > mxe-octave
changeset 6388:dbc29160e2b2
mingw-w64: Update patch with changes applied upstream (bug #49091).
* src/mingw-w64-complex-inverse-trig.patch: Use "signbit" macro correctly.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 27 Aug 2022 13:05:12 +0200 |
parents | 8bf821eb44fb |
children | 6dd620c7a2d2 |
files | src/mingw-w64-complex-inverse-trig.patch |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mingw-w64-complex-inverse-trig.patch Sat Aug 27 13:00:38 2022 +0200 +++ b/src/mingw-w64-complex-inverse-trig.patch Sat Aug 27 13:05:12 2022 +0200 @@ -104,7 +104,7 @@ x = __FLT_ABI(csqrt) (x); - if (__real__ z < __FLT_CST(0.0)) -+ if (__FLT_ABI(signbit) (__real__ z)) ++ if (signbit (__real__ z)) x = -x; __real__ x += __real__ z; @@ -113,7 +113,7 @@ ret = __FLT_ABI(clog) (x); - if (__real__ ret < __FLT_CST(0.0)) -+ if (__FLT_ABI(signbit) (__real__ ret)) ++ if (signbit (__real__ ret)) ret = -ret; return ret;