/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/java_cases/ |
H A D | BasicDataTypesTest.java | 31 double doubleValue = 123.456789d; in main() 45 System.out.println("Double value: " + doubleValue); in main()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | bit_helper_test.cpp | 142 double doubleValue = -257.93458301390463; in HWTEST_F_L0() local 147 EXPECT_EQ(bit_cast<int64_t>(doubleValue), MemoryCast<int64_t>(doubleValue)); in HWTEST_F_L0() 148 EXPECT_EQ(bit_cast<uint64_t>(doubleValue), MemoryCast<uint64_t>(doubleValue)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
H A D | constantfold.cpp | 944 double doubleValue = ceil(constValue->GetValue()); in FoldCeil() local 946 resultConst->SetConstVal(GlobalTables::GetFpConstTable().GetOrCreateDoubleConst(doubleValue)); in FoldCeil() 947 } else if (DoubleToIntOverflow(doubleValue, toType)) { in FoldCeil() 951 GlobalTables::GetIntConstTable().GetOrCreateIntConst(static_cast<uint64>(doubleValue), resultType)); in FoldCeil() 995 double doubleValue = constValue.GetValue(); in FoldFloorMIRConst() local 997 doubleValue = floor(constValue.GetValue()); in FoldFloorMIRConst() 1000 return GlobalTables::GetFpConstTable().GetOrCreateDoubleConst(doubleValue); in FoldFloorMIRConst() 1002 if (DoubleToIntOverflow(doubleValue, toType)) { in FoldFloorMIRConst() 1005 doubleValue = CalIntValueFromFloatValue(doubleValue, resultTyp in FoldFloorMIRConst() 1031 double doubleValue = round(constValue.GetValue()); FoldRoundMIRConst() local 1056 double doubleValue = round(static_cast<double>(fromValue)); FoldRoundMIRConst() local 1062 double doubleValue = round(static_cast<double>(fromValue)); FoldRoundMIRConst() local 1099 double doubleValue = trunc(constValue->GetValue()); FoldTrunc() local 1156 double doubleValue = static_cast<double>(fromValue->GetValue()); FoldTypeCvtMIRConst() local [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_dataview_stub_builder.cpp | 81 GateRef doubleValue = TaggedGetNumber(value);
in SetTypedValue() local 84 DoubleToInt(glue, doubleValue), *isLittleEndian);
in SetTypedValue() 86 GateRef flaotValue = TruncDoubleToFloat32(doubleValue);
in SetTypedValue() 90 GateRef int64Value = CastDoubleToInt64(doubleValue);
in SetTypedValue()
|
H A D | builtins_string_stub_builder.cpp | 103 DEFVARIABLE(doubleValue, VariableType::FLOAT64(), Double(0));
in CharAt() 142 doubleValue = GetDoubleOfTDouble(posTag);
in CharAt() 143 BRANCH(DoubleIsINF(*doubleValue), &posGreaterLen, &isNotINF);
in CharAt() 285 DEFVARIABLE(doubleValue, VariableType::FLOAT64(), Double(0));
in CheckParamsAndGetPosition() 322 doubleValue = GetDoubleOfTDouble(posTag);
in CheckParamsAndGetPosition() 323 BRANCH(DoubleIsINF(*doubleValue), exit, &isNotINF);
in CheckParamsAndGetPosition()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
H A D | emitter.cpp | 302 double doubleValue = elem->AsNumberLiteral()->Number(); in ProcessArrayExpressionInLiteralArray() local 307 pandasm::LiteralArray::Literal {panda::panda_file::LiteralTag::DOUBLE, doubleValue}); in ProcessArrayExpressionInLiteralArray() 325 double doubleValue = (-1) * elem->AsUnaryExpression()->Argument()->AsNumberLiteral()->Number(); in ProcessArrayExpressionInLiteralArray() local 330 pandasm::LiteralArray::Literal {panda::panda_file::LiteralTag::DOUBLE, doubleValue}); in ProcessArrayExpressionInLiteralArray() 856 double doubleValue = value->AsNumberLiteral()->Number(); in CreateEnumProp() local 858 panda::pandasm::ScalarValue::Create<panda::pandasm::Value::Type::F64>(doubleValue)); in CreateEnumProp() 864 double doubleValue = (-1) * value->AsUnaryExpression()->Argument()->AsNumberLiteral()->Number(); in CreateEnumProp() local 866 panda::pandasm::ScalarValue::Create<panda::pandasm::Value::Type::F64>(doubleValue)); in CreateEnumProp() 882 double doubleValue = 0.0; in CreateAnnotationProp() local 888 doubleValue in CreateAnnotationProp() [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
H A D | ets_to_string_cache_test.cpp | 402 auto doubleValue = static_cast<double>(value); in TEST_F() local 404 intrinsics::helpers::FpToStringDecimalRadix(doubleValue, in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_object-inl.h | 251 double doubleValue = value.GetInt(); in ConvertValueWithRep() local 252 return std::pair(true, JSTaggedValue(bit_cast<JSTaggedType>(doubleValue))); in ConvertValueWithRep()
|
H A D | js_tagged_value.cpp | 397 double doubleValue = GetNumber(); in WithinInt32() local 398 if (base::bit_cast<int64_t>(doubleValue) == base::bit_cast<int64_t>(-0.0)) { in WithinInt32() 402 int32_t intvalue = base::NumberHelper::DoubleToInt(doubleValue, base::INT32_BITS); in WithinInt32() 403 return doubleValue == static_cast<double>(intvalue); in WithinInt32()
|
H A D | js_hclass.cpp | 823 double doubleValue = value->GetInt(); in ConvertOrTransitionWithRep() local 824 return {false, false, JSTaggedValue(bit_cast<JSTaggedType>(doubleValue))}; in ConvertOrTransitionWithRep()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | number_speculative_retype.cpp | 1096 double doubleValue = static_cast<double>(rawValue); in TryConvertConstant() local 1097 return needInt32 ? builder_.Int32(rawValue) : builder_.Double(doubleValue); in TryConvertConstant() 1252 GateRef doubleValue = builder_.CheckTaggedDoubleAndConvertToFloat64(gate); in CheckBoundAndConvertToInt32() local 1253 result = builder_.DoubleInRangeInt32(doubleValue); in CheckBoundAndConvertToInt32() 1265 GateRef doubleValue = builder_.CheckTaggedNumberAndConvertToFloat64(gate); in CheckBoundAndConvertToInt32() local 1266 result = builder_.DoubleInRangeInt32(doubleValue); in CheckBoundAndConvertToInt32()
|
H A D | circuit_builder.cpp | 1505 auto doubleValue = GetDoubleOfTDouble(value); in FastToBoolean() local 1506 BRANCH_CIR2(DoubleIsNAN(doubleValue), &returnFalse, ¬Nan); in FastToBoolean() 1508 BRANCH_CIR2(DoubleEqual(doubleValue, Double(0.0)), &returnFalse, &returnTrue); in FastToBoolean()
|
H A D | mcr_lowering.cpp | 1150 GateRef doubleValue = builder_.GetDoubleOfTDouble(value); in LowerMigrateFromHeapValueToRawValue() local 1151 GateRef convertedDoubleFromTDouble = builder_.CastDoubleToInt64(doubleValue); in LowerMigrateFromHeapValueToRawValue()
|
H A D | stub_builder.cpp | 6792 auto doubleValue = GetDoubleOfTDouble(value); in FastToBoolean() local 6793 BRANCH(DoubleIsNAN(doubleValue), &returnFalse, ¬Nan); in FastToBoolean() 6795 BRANCH(DoubleEqual(doubleValue, Double(0.0)), &returnFalse, &returnTrue); in FastToBoolean() 6891 auto doubleValue = GetDoubleOfTDouble(value); in FastToBooleanBaseline() local 6892 Branch(DoubleIsNAN(doubleValue), &returnFalse, ¬Nan); in FastToBooleanBaseline() 6894 Branch(DoubleEqual(doubleValue, Double(0.0)), &returnFalse, &returnTrue); in FastToBooleanBaseline() 7011 auto doubleValue = GetDoubleOfTDouble(value); in FastToBooleanWithProfile() local 7012 BRANCH(DoubleIsNAN(doubleValue), &returnFalse, ¬Nan); in FastToBooleanWithProfile() 7014 BRANCH(DoubleEqual(doubleValue, Double(0.0)), &returnFalse, &returnTrue); in FastToBooleanWithProfile() 7131 auto doubleValue in FastToBooleanWithProfileBaseline() local [all...] |
H A D | typed_native_inline_lowering.cpp | 4091 GateRef doubleValue = builder_.GetDoubleOfTInt(value); in TargetNumberCompareWithArrKind() local 4092 BRANCH_CIR(builder_.DoubleEqual(doubleTarget, doubleValue), &returnTrue, &exit); in TargetNumberCompareWithArrKind() 4096 GateRef doubleValue = builder_.GetDoubleOfTNumber(value); in TargetNumberCompareWithArrKind() local 4097 BRANCH_CIR(builder_.DoubleEqual(doubleValue, doubleTarget), &returnTrue, &exit); in TargetNumberCompareWithArrKind()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_sample.cpp | 97 double doubleValue = doubleObject->Value(); in HWTEST_F_L0() local 98 GTEST_LOG_(INFO) << "sample_primitive_NumberRef_doubleValue : " << doubleValue; in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/ |
H A D | llvm_ir_builder.cpp | 1348 auto doubleValue = base::bit_cast<double>(value.to_ullong()); // actual double value in VisitConstant() local 1349 llvmValue = LLVMConstReal(GetDoubleT(), doubleValue); in VisitConstant()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/ |
H A D | litecg_ir_builder.cpp | 825 auto doubleValue = base::bit_cast<double>(value.to_ullong()); // actual double value in GetConstant() local 826 constVal = &(lmirBuilder_->CreateDoubleConst(static_cast<double>(doubleValue))); in GetConstant()
|