Commit f3216016 authored by George Matsumura's avatar George Matsumura
Browse files

Correct __*_finite math functions



This corrects a mistake in the finite math functions in which it
was asserted that the return values had to be infinite, instead of
the intended behavior of asserting that they were not infinite.
Signed-off-by: default avatarGeorge Matsumura <gmmatsumura01@bvsd.org>
parent 715b50ec
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment