summaryrefslogtreecommitdiffstats
path: root/modules/fdlibm/src/e_hypot.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-15 15:17:01 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-15 15:17:01 +0100
commit5e902a4a9a25a9e151b5d3945c68517bc0c73139 (patch)
treea2e314bc193f4bdd52bb45adfc12f2803c265469 /modules/fdlibm/src/e_hypot.cpp
parent6ca0b4704367f8804e0373cb439e6e17e5146e4a (diff)
downloadUXP-5e902a4a9a25a9e151b5d3945c68517bc0c73139.tar
UXP-5e902a4a9a25a9e151b5d3945c68517bc0c73139.tar.gz
UXP-5e902a4a9a25a9e151b5d3945c68517bc0c73139.tar.lz
UXP-5e902a4a9a25a9e151b5d3945c68517bc0c73139.tar.xz
UXP-5e902a4a9a25a9e151b5d3945c68517bc0c73139.zip
Issue #1291 - Part 3: Update fdlibm to Sept 2019 version
Diffstat (limited to 'modules/fdlibm/src/e_hypot.cpp')
-rw-r--r--modules/fdlibm/src/e_hypot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fdlibm/src/e_hypot.cpp b/modules/fdlibm/src/e_hypot.cpp
index b34a1f575..a23571150 100644
--- a/modules/fdlibm/src/e_hypot.cpp
+++ b/modules/fdlibm/src/e_hypot.cpp
@@ -70,7 +70,7 @@ __ieee754_hypot(double x, double y)
if(ha >= 0x7ff00000) { /* Inf or NaN */
u_int32_t low;
/* Use original arg order iff result is NaN; quieten sNaNs. */
- w = fabs(x+0.0)-fabs(y+0.0);
+ w = fabsl(x+0.0L)-fabs(y+0);
GET_LOW_WORD(low,a);
if(((ha&0xfffff)|low)==0) w = a;
GET_LOW_WORD(low,b);