summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-08-10 23:39:59 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-08-10 23:39:59 +0000
commit3a8ac64995e2ffc0b59aad477a664711e5c941e5 (patch)
tree201fdd5157cd82caca20d94438cad55b457d3964 /libgcompat
parenta093226d4d20bdf9189f67d668cb7981540f6aa3 (diff)
parentf3216016b0fb00cd297643839b6be295301aeeb2 (diff)
downloadgcompat-3a8ac64995e2ffc0b59aad477a664711e5c941e5.tar.gz
gcompat-3a8ac64995e2ffc0b59aad477a664711e5c941e5.tar.bz2
gcompat-3a8ac64995e2ffc0b59aad477a664711e5c941e5.tar.xz
gcompat-3a8ac64995e2ffc0b59aad477a664711e5c941e5.zip
Merge branch 'master' into 'master'
Correct __*_finite math functions See merge request adelie/gcompat!8
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/math.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgcompat/math.c b/libgcompat/math.c
index 793ff1a..ce567ef 100644
--- a/libgcompat/math.c
+++ b/libgcompat/math.c
@@ -177,9 +177,9 @@ weak_alias(__isnanl, isnanl);
"infinite value returned in a function that returns a " \
"finite result");
-#define ASSERT_FINITEF(res) _ASSERT_FINITE(isinff, res)
-#define ASSERT_FINITE(res) _ASSERT_FINITE(isinf, res)
-#define ASSERT_FINITEL(res) _ASSERT_FINITE(isinfl, res)
+#define ASSERT_FINITEF(res) _ASSERT_FINITE(finitef, res)
+#define ASSERT_FINITE(res) _ASSERT_FINITE(finite, res)
+#define ASSERT_FINITEL(res) _ASSERT_FINITE(finitel, res)
/**
* Returns the principal value of the arc cosine of x, expressed in radians.