Home
last modified time | relevance | path

Searched refs:NAN (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/lib/c_lib/common/src/
Dtest_sqrt.c15 #ifndef NAN
16 #define NAN (__builtin_nansf("")) macro
103 zassert_true(isnanf(sqrtf(NAN)), "sqrt(nan)"); in ZTEST()
105 zassert_true(issignallingf(sqrtf(NAN)), "ssignalingf(sqrtf(nan))"); in ZTEST()
108 zassert_true(isnanf(sqrtf(-NAN)), "isnanf(sqrtf(-nan))"); in ZTEST()
162 zassert_true(isnan(sqrt((double)NAN)), "sqrt(nan)"); in ZTEST()
164 zassert_true(issignalling(sqrt((double)NAN)), "ssignaling(sqrt(nan))"); in ZTEST()
167 zassert_true(isnan(sqrt((double)-NAN)), "isnan(sqrt(-nan))"); in ZTEST()
/Zephyr-latest/scripts/native_simulator/native/src/
Dnsi_cmdline_common.c218 *(double *)args_struct[count].dest = (double)NAN; in nsi_cmd_args_set_defaults()
/Zephyr-latest/boards/native/native_posix/
Dcmdline_common.c216 *(double *)args_struct[count].dest = (double)NAN; in cmd_args_set_defaults()
/Zephyr-latest/tests/unit/cbprintf/
Dmain.c770 dv = NAN; in ZTEST()