Home
last modified time | relevance | path

Searched refs:DECIMAL (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
H A Dets_intrinsics_helpers.h40 inline constexpr uint8_t DECIMAL = 10; member
98 return c - 'A' + DECIMAL; in ToDigit()
101 return c - 'a' + DECIMAL; in ToDigit()
229 int digit = static_cast<int>((current > '9') ? (current - 'a' + DECIMAL) : (current - '0')); in Carry()
389 if (radix == helpers::DECIMAL) { in FpToString()
H A Dets_intrinsics_helpers.cpp171 radix = DECIMAL; in StringToDouble()
210 // 7. deal with other radix except DECIMAL in StringToDouble()
211 if (p == end || radix != DECIMAL) { in StringToDouble()
237 if (radix == DECIMAL && (p != end && (*p == 'e' || *p == 'E'))) { in StringToDouble()
295 radix = DECIMAL; in StringToDoubleWithRadix()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dnumber_helper.cpp79 return c - 'A' + DECIMAL; in ToDigit()
82 return c - 'a' + DECIMAL; in ToDigit()
561 if ((radix == base::DECIMAL || radix == 0)) {
609 radix = DECIMAL;
663 int digit = static_cast<int>((current > '9') ? (current - 'a' + DECIMAL) : (current - '0'));
964 radix = DECIMAL;
1003 // 7. deal with other radix except DECIMAL
1004 if (p == end || radix != DECIMAL) {
1014 if (radix == DECIMAL && *p == '.') {
1035 if (radix == DECIMAL
[all...]
H A Dnumber_helper.h41 static constexpr uint8_t DECIMAL = 10; member
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_Float.cpp25 if (UNLIKELY(radix != helpers::DECIMAL)) { in StdCoreFloatToString()
H A Dstd_core_Double.cpp54 if (UNLIKELY(radix != helpers::DECIMAL)) { in StdCoreDoubleToString()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_bigint.h41 static constexpr uint32_t DECIMAL = 10; // 10 : decimal member in panda::ecmascript::BigInt
60 uint32_t conversionToRadix = BigInt::DECIMAL);
202 uint32_t currentRadix = BigInt::DECIMAL);
H A Djs_number_format.h28 enum class StyleOption : uint8_t { DECIMAL = 0x01, CURRENCY, PERCENT, UNIT, EXCEPTION }; member in panda::ecmascript::StyleOption
H A Djs_number_format.cpp24 StyleOption::DECIMAL, StyleOption::PERCENT, StyleOption::CURRENCY, StyleOption::UNIT
87 case StyleOption::DECIMAL: in OptionToEcmaString()
331 StyleOption::DECIMAL); in SetNumberFormatUnitOptions()
H A Ddump.cpp1794 os << " - value : " << ToStdString(DECIMAL) << "\n"; in Dump()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_bigint.cpp174 double radix = base::DECIMAL; in ToString()
188 if (radix == base::DECIMAL) { in ToString()
H A Dbuiltins_number.cpp420 double radix = base::DECIMAL; in ToString()
437 if (radix == base::DECIMAL) { in ToString()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_bigint_test.cpp280 JSHandle<BigInt> bigint2 = BigIntHelper::SetBigInt(thread, bigintStdStr2, BigInt::DECIMAL); in HWTEST_F_L0()
287 JSHandle<EcmaString> bigintEcmaStrDec1 = BigInt::ToString(thread, bigint1, BigInt::DECIMAL); in HWTEST_F_L0()
303 JSHandle<EcmaString> bigintEcmaStrDec2 = BigInt::ToString(thread, bigint2, BigInt::DECIMAL); in HWTEST_F_L0()
306 (bigint2->ToStdString(BigInt::DECIMAL)).c_str()); in HWTEST_F_L0()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js1959 case i.DECIMAL:
[all...]

Completed in 47 milliseconds