Home
last modified time | relevance | path

Searched refs:INFINITY (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/lib/c_lib/common/src/
Dtest_sqrt.c19 #ifndef INFINITY
20 #define INFINITY (__builtin_inff()) macro
109 zassert_true(isinff(sqrtf(INFINITY)), "isinff(sqrt(inf))"); in ZTEST()
110 zassert_true(isnanf(sqrtf(-INFINITY)), "isnanf(sqrt(-inf))"); in ZTEST()
118 zassert_true((resf > 0.0f) && (resf < INFINITY), in ZTEST()
120 if ((resf > 0.0f) && (resf < INFINITY)) { in ZTEST()
168 zassert_true(isinf(sqrt((double)INFINITY)), "isinf(sqrt(inf))"); in ZTEST()
169 zassert_true(isnan(sqrt((double)-INFINITY)), "isnan(sqrt(-inf))"); in ZTEST()
177 zassert_true((resd > 0.0) && (resd < (double)INFINITY), in ZTEST()
179 if ((resd > 0.0) && (resd < (double)INFINITY)) { in ZTEST()
/Zephyr-latest/tests/unit/cbprintf/
Dmain.c748 dv = INFINITY; in ZTEST()
759 dv = -INFINITY; in ZTEST()