/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | ets_intrinsics_helpers.cpp | 95 return NAN_VALUE; in StringToDouble() 106 RETURN_IF_CONVERSION_END(++p, end, NAN_VALUE); in StringToDouble() 109 RETURN_IF_CONVERSION_END(++p, end, NAN_VALUE); in StringToDouble() 120 return NAN_VALUE; in StringToDouble() 125 return NAN_VALUE; in StringToDouble() 137 return ignoreTrailing ? SignedZero(sign) : NAN_VALUE; in StringToDouble() 139 RETURN_IF_CONVERSION_END(++p, end, NAN_VALUE); in StringToDouble() 141 return NAN_VALUE; in StringToDouble() 147 return ignoreTrailing ? SignedZero(sign) : NAN_VALUE; in StringToDouble() 149 RETURN_IF_CONVERSION_END(++p, end, NAN_VALUE); in StringToDouble() [all...] |
H A D | ets_intrinsics_helpers.h | 48 inline constexpr double NAN_VALUE = coretypes::TaggedValue::VALUE_NAN; member
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | number_helper.cpp | 583 JSTaggedValue nanResult = BuiltinsBase::GetTaggedDouble(NAN_VALUE); 864 return {true, JSTaggedNumber(NAN_VALUE)}; 868 return {true, JSTaggedNumber(NAN_VALUE)}; 885 return {false, JSTaggedNumber(NAN_VALUE)}; 899 RETURN_IF_CONVERSION_END(++p, end, NAN_VALUE); 902 RETURN_IF_CONVERSION_END(++p, end, NAN_VALUE); 913 return NAN_VALUE; 918 return NAN_VALUE; 930 return ignoreTrailing ? SignedZero(sign) : NAN_VALUE; 932 RETURN_IF_CONVERSION_END(++p, end, NAN_VALUE); [all...] |
H A D | number_helper.h | 49 static constexpr double NAN_VALUE = std::numeric_limits<double>::quiet_NaN(); member 113 return JSTaggedValue(NAN_VALUE).GetRawData();
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_math.cpp | 59 double result = base::NAN_VALUE; in Acos() 78 double result = base::NAN_VALUE; in Acosh() 96 double result = base::NAN_VALUE; in Asin() 114 double result = base::NAN_VALUE; in Asinh() 133 double result = base::NAN_VALUE; in Atan() 152 double result = base::NAN_VALUE; in Atanh() 168 double result = base::NAN_VALUE; in Atan2() 201 double result = base::NAN_VALUE; in Cbrt() 220 double result = base::NAN_VALUE; in Ceil() 265 double result = base::NAN_VALUE; in Cos() [all...] |
H A D | builtins_global.h | 24 V("NaN", NAN_VALUE) \ 109 static const inline JSTaggedValue NAN_VALUE = JSTaggedValue(base::NAN_VALUE); member in panda::ecmascript::builtins::BuiltinsGlobal
|
H A D | builtins_number.cpp | 159 return GetTaggedDouble(base::NAN_VALUE); in ParseFloat() 171 return BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in ParseFloat()
|
H A D | builtins_arraybuffer.cpp | 561 return GetTaggedDouble(base::NAN_VALUE); in CommonConvert() 566 return GetTaggedDouble(base::NAN_VALUE); in CommonConvert()
|
H A D | builtins_date.cpp | 486 timeValue = JSTaggedValue((i == length) ? JSDate::SetDateValues(&fields, true) : base::NAN_VALUE); in ExtractDateFields()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_tagged_number_test.cpp | 46 JSTaggedNumber number5(NAN_VALUE); in HWTEST_F_L0() 89 JSTaggedNumber number1(NAN_VALUE); in HWTEST_F_L0() 90 JSTaggedNumber number2(NAN_VALUE); in HWTEST_F_L0()
|
H A D | js_relative_time_format_test.cpp | 54 double value = base::NAN_VALUE; in HWTEST_F_L0()
|
H A D | js_plural_rules_test.cpp | 107 double n = base::NAN_VALUE; in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/test/fuzztest/daterefnew_fuzzer/ |
H A D | daterefnew_fuzzer.cpp | 44 input = ecmascript::base::NAN_VALUE; in DateRefNewFuzzTest() 68 input = ecmascript::base::NAN_VALUE; in DateRefGetTimeFuzzTest() 93 input = ecmascript::base::NAN_VALUE; in DateRefToStringFuzzTest()
|
/arkcompiler/runtime_core/arkplatform/tests/ |
H A D | jsnapi_test.cpp | 84 static constexpr double NAN_VALUE = std::numeric_limits<double>::quiet_NaN(); in TEST_F() local 85 TestNumberRef(NAN_VALUE, ConvertDouble(NAN_VALUE)); in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_date.cpp | 147 return base::NAN_VALUE; 169 return base::NAN_VALUE; 179 return base::NAN_VALUE; 189 return base::NAN_VALUE; 495 return JSTaggedValue(base::NAN_VALUE); 509 return JSTaggedValue(base::NAN_VALUE); 551 year = base::NAN_VALUE; 670 return JSTaggedValue(base::NAN_VALUE); in ToDateString() 729 return JSTaggedValue(base::NAN_VALUE); in ToISOString() 764 return JSTaggedValue(base::NAN_VALUE); in ToString() [all...] |
H A D | js_typed_array.cpp | 655 return JSTaggedNumber(base::NAN_VALUE); in NonEcmaObjectToNumber()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_math_test.cpp | 126 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() 194 // Math.abs(Number.NAN_VALUE) 197 const double testValue = base::NAN_VALUE; in HWTEST_F_L0() 206 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() 221 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() 266 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() 327 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() 357 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() 429 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(-base::NAN_VALUE)); in HWTEST_F_L0() 434 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() [all...] |
H A D | builtins_date_test.cpp | 509 ASSERT_EQ(result1.GetRawData(), JSTaggedValue(static_cast<double>(base::NAN_VALUE)).GetRawData()); in HWTEST_F_L0() 636 ASSERT_EQ(result1.GetRawData(), JSTaggedValue(static_cast<double>(base::NAN_VALUE)).GetRawData()); in HWTEST_F_L0() 991 ecmaRuntimeCallInfo11->SetCallArg(1, JSTaggedValue(static_cast<double>(base::NAN_VALUE))); in HWTEST_F_L0() 999 ASSERT_EQ(dateResult1->GetTimeValue(), JSTaggedValue(static_cast<double>(base::NAN_VALUE))); in HWTEST_F_L0() 1014 ASSERT_EQ(dateResult2->GetTimeValue(), JSTaggedValue(static_cast<double>(base::NAN_VALUE))); in HWTEST_F_L0()
|
H A D | builtins_number_test.cpp | 115 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::NAN_VALUE)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_binary_op.h | 186 return JSTaggedValue(base::NAN_VALUE); in DivWithTSType() 221 return JSTaggedValue(base::NAN_VALUE); in ModWithTSType() 240 return JSTaggedValue(base::NAN_VALUE); in ModWithTSType()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | fast_runtime_stub-inl.h | 55 return JSTaggedValue(base::NAN_VALUE); in FastDiv() 80 return JSTaggedValue(base::NAN_VALUE); in FastMod()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | number_helper_test.cpp | 46 JSTaggedValue number5(NAN_VALUE); in HWTEST_F_L0() 368 EXPECT_EQ(NumberHelper::TruncateDouble(NAN_VALUE), 0); in HWTEST_F_L0()
|
H A D | typed_array_helper_test.cpp | 404 JSHandle<JSTaggedValue> nan(thread, JSTaggedValue(base::NAN_VALUE)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_number_stub_builder.cpp | 35 *result = DoubleToTaggedDoublePtr(Double(base::NAN_VALUE));
in ParseFloat()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | builtins_lowering.cpp | 141 result = builder_.DoubleToTaggedDoublePtr(builder_.Double(base::NAN_VALUE)); in TypedFloor()
|