Home
last modified time | relevance | path

Searched refs:NAN_VALUE (Results 1 - 25 of 43) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
H A Dets_intrinsics_helpers.cpp95 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 Dets_intrinsics_helpers.h48 inline constexpr double NAN_VALUE = coretypes::TaggedValue::VALUE_NAN; member
/arkcompiler/ets_runtime/ecmascript/base/
H A Dnumber_helper.cpp583 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 Dnumber_helper.h49 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 Dbuiltins_math.cpp59 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 Dbuiltins_global.h24 V("NaN", NAN_VALUE) \
109 static const inline JSTaggedValue NAN_VALUE = JSTaggedValue(base::NAN_VALUE); member in panda::ecmascript::builtins::BuiltinsGlobal
H A Dbuiltins_number.cpp159 return GetTaggedDouble(base::NAN_VALUE); in ParseFloat()
171 return BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in ParseFloat()
H A Dbuiltins_arraybuffer.cpp561 return GetTaggedDouble(base::NAN_VALUE); in CommonConvert()
566 return GetTaggedDouble(base::NAN_VALUE); in CommonConvert()
H A Dbuiltins_date.cpp486 timeValue = JSTaggedValue((i == length) ? JSDate::SetDateValues(&fields, true) : base::NAN_VALUE); in ExtractDateFields()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_tagged_number_test.cpp46 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 Djs_relative_time_format_test.cpp54 double value = base::NAN_VALUE; in HWTEST_F_L0()
H A Djs_plural_rules_test.cpp107 double n = base::NAN_VALUE; in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/daterefnew_fuzzer/
H A Ddaterefnew_fuzzer.cpp44 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 Djsnapi_test.cpp84 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 Djs_date.cpp147 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 Djs_typed_array.cpp655 return JSTaggedNumber(base::NAN_VALUE); in NonEcmaObjectToNumber()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_math_test.cpp126 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 Dbuiltins_date_test.cpp509 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 Dbuiltins_number_test.cpp115 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::NAN_VALUE)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dic_binary_op.h186 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 Dfast_runtime_stub-inl.h55 return JSTaggedValue(base::NAN_VALUE); in FastDiv()
80 return JSTaggedValue(base::NAN_VALUE); in FastMod()
/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Dnumber_helper_test.cpp46 JSTaggedValue number5(NAN_VALUE); in HWTEST_F_L0()
368 EXPECT_EQ(NumberHelper::TruncateDouble(NAN_VALUE), 0); in HWTEST_F_L0()
H A Dtyped_array_helper_test.cpp404 JSHandle<JSTaggedValue> nan(thread, JSTaggedValue(base::NAN_VALUE)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_number_stub_builder.cpp35 *result = DoubleToTaggedDoublePtr(Double(base::NAN_VALUE)); in ParseFloat()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dbuiltins_lowering.cpp141 result = builder_.DoubleToTaggedDoublePtr(builder_.Double(base::NAN_VALUE)); in TypedFloor()

Completed in 27 milliseconds

12