Home
last modified time | relevance | path

Searched refs:IsNaN (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_number.h33 static JSTaggedValue IsNaN(EcmaRuntimeCallInfo *argv);
Dbuiltins_global.h37 static JSTaggedValue IsNaN(EcmaRuntimeCallInfo *msg);
Dbuiltins_number.cpp117 JSTaggedValue BuiltinsNumber::IsNaN(EcmaRuntimeCallInfo *argv) in IsNaN() function in panda::ecmascript::builtins::BuiltinsNumber
120 BUILTINS_API_TRACE(argv->GetThread(), Number, IsNaN); in IsNaN()
124 if (NumberHelper::IsNaN(msg)) { in IsNaN()
Dbuiltins_global.cpp65 JSTaggedValue BuiltinsGlobal::IsNaN(EcmaRuntimeCallInfo *msg) in IsNaN() function in panda::ecmascript::builtins::BuiltinsGlobal
69 BUILTINS_API_TRACE(thread, Global, IsNaN); in IsNaN()
Dbuiltins_atomics.cpp204 if (NumberHelper::IsNaN(q) || (!NumberHelper::IsFinite(q) && t > 0)) { in Wait()
Dbuiltins.cpp456 SetFunction(env, globalObject, "isNaN", Global::IsNaN, FunctionLength::ONE); in InitializeGlobalObject()
829 SetFunction(env, numFunction, "isNaN", Number::IsNaN, FunctionLength::ONE); in InitializeNumber()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dnumber_helper_test.cpp56 HWTEST_F_L0(NumberHelperTest, IsNaN) in HWTEST_F_L0() argument
59 EXPECT_FALSE(NumberHelper::IsNaN(number1)); in HWTEST_F_L0()
62 EXPECT_FALSE(NumberHelper::IsNaN(number2)); in HWTEST_F_L0()
65 EXPECT_FALSE(NumberHelper::IsNaN(number3)); in HWTEST_F_L0()
68 EXPECT_TRUE(NumberHelper::IsNaN(number4)); in HWTEST_F_L0()
71 EXPECT_TRUE(NumberHelper::IsNaN(number5)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.h94 static bool IsNaN(JSTaggedValue number) in IsNaN() function
Dtyped_array_helper.cpp623 if (NumberHelper::IsNaN(firstValue.GetTaggedValue())) { in SortCompare()
624 if (NumberHelper::IsNaN(secondValue.GetTaggedValue())) { in SortCompare()
631 if (NumberHelper::IsNaN(secondValue.GetTaggedValue())) { in SortCompare()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_number_test.cpp204 HWTEST_F_L0(BuiltinsNumberTest, IsNaN) in HWTEST_F_L0() argument
212 JSTaggedValue result = BuiltinsNumber::IsNaN(ecmaRuntimeCallInfo); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Druntime_call_id.h405 V(Global, IsNaN) \
526 V(Number, IsNaN) \
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp239 reinterpret_cast<uintptr_t>(Number::IsNaN),
555 reinterpret_cast<uintptr_t>(Global::IsNaN),
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp2942 …if (!NumberHelper::IsFinite(tagged.GetTaggedValue()) || NumberHelper::IsNaN(tagged.GetTaggedValue(… in IntegerValue()