Home
last modified time | relevance | path

Searched refs:isnan (Results 1 - 16 of 16) sorted by relevance

/kernel/liteos_m/testsuites/unittest/posix/src/
H A Dposix_test.h52 ICUNIT_ASSERT_EQUAL(((expected) == (actual)) || (isnan(expected) && isnan(actual)), TRUE, 0)
/kernel/liteos_m/testsuites/unittest/xts/
H A Dxts_test.h49 ICUNIT_ASSERT_EQUAL(((expected) == (actual)) || (isnan(expected) && isnan(actual)), TRUE, 0)
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dmath.h83 #define isnan(x) ( \ macro
98 /* cmath use using ::isnan, need isnan deferance. */
100 int (isnan)(double);
112 #define isunordered(x,y) (isnan((x)) ? ((void)(y),1) : isnan((y)))
/kernel/liteos_m/testsuites/unittest/posix/src/math/
H A Dmath_func_test.c59 if (isnan(a) && isnan(b)) { in DoubleEquals()
62 if (isnan(a) || isnan(b)) { in DoubleEquals()
/test/xts/device_attest/services/core/attest/
H A Dattest_service_challenge.c94 if (isnan(errorCode)) { in ParseChallengeResult()
104 if (isnan((double)challenge->currentTime)) { in ParseChallengeResult()
H A Dattest_service_active.c105 if (isnan(errorCode)) { in ParseActiveResult()
H A Dattest_service_reset.c92 if (isnan(errorCode)) { in ParseResetResult()
H A Dattest_service.c101 if (isnan(recordHour)) { in IsFullLoad()
106 if (isnan(recordNumber)) { in IsFullLoad()
/test/xts/device_attest_lite/services/core/attest/
H A Dattest_service_challenge.c94 if (isnan(errorCode)) { in ParseChallengeResult()
104 if (isnan((double)challenge->currentTime)) { in ParseChallengeResult()
H A Dattest_service_active.c105 if (isnan(errorCode)) { in ParseActiveResult()
H A Dattest_service_reset.c92 if (isnan(errorCode)) { in ParseResetResult()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dexpr.y132 if (isnan(LHS.val) || isnan(RHS.val)) { \
H A Dstat-shadow.c477 !isnan(threshold)) { in generic_metric()
/test/xts/acts/ai/mindspore/mindsporectest/src/
H A Dohos_common.cpp168 if (isnan(a[i]) || isinf(a[i])) { in allclose()
260 if (isnan(a[i]) || isinf(a[i])) { in allclose_int8()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dexpr.c124 TEST_ASSERT_VAL("division by zero", isnan(val)); in test__expr()
/test/xts/acts/kernel_lite/util_posix/src/
H A DActsUtilCheckApiTest.cpp1154 * @tc.name test isnan api with NAN
1162 returnVal = isnan(paraVal); in HWTEST_F()
1163 LOGD(" isnan returnVal:='%d'\n", returnVal); in HWTEST_F()
1164 ASSERT_TRUE(returnVal != 0) << "ErrInfo: isnan returnVal:='" << returnVal << "'"; in HWTEST_F()

Completed in 17 milliseconds