Searched refs:DECIMAL (Results 1 – 11 of 11) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/ |
D | number_helper.cpp | 48 return c - 'A' + DECIMAL; in ToDigit() 51 return c - 'a' + DECIMAL; in ToDigit() 204 radix = DECIMAL; in StringToDoubleWithRadix() 257 int digit = static_cast<int>((current > '9') ? (current - 'a' + DECIMAL) : (current - '0')); in Carry() 518 radix = DECIMAL; in StringToDouble() 558 if (p == end || radix != DECIMAL) { in StringToDouble() 567 if (radix == DECIMAL && *p == '.') { in StringToDouble() 588 if (radix == DECIMAL && (p != end && (*p == 'e' || *p == 'E'))) { in StringToDouble() 730 uint8_t radix = DECIMAL; in StringToBigInt()
|
D | number_helper.h | 40 static constexpr uint8_t DECIMAL = 10; variable
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_bigint.h | 41 static constexpr uint32_t DECIMAL = 10; // 10 : decimal variable 60 uint32_t conversionToRadix = BigInt::DECIMAL); 184 uint32_t currentRadix = BigInt::DECIMAL);
|
D | js_number_format.h | 28 enum class StyleOption : uint8_t { DECIMAL = 0x01, CURRENCY, PERCENT, UNIT, EXCEPTION }; enumerator
|
D | js_number_format.cpp | 27 case StyleOption::DECIMAL: in OptionToEcmaString() 270 {StyleOption::DECIMAL, StyleOption::PERCENT, StyleOption::CURRENCY, StyleOption::UNIT}, in SetNumberFormatUnitOptions() 271 {"decimal", "percent", "currency", "unit"}, StyleOption::DECIMAL); in SetNumberFormatUnitOptions()
|
D | dump.cpp | 1588 os << " - value : " << ToStdString(DECIMAL) << "\n"; in Dump()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_bigint.cpp | 164 double radix = base::DECIMAL; in ToString() 178 if (radix == base::DECIMAL) { in ToString()
|
D | builtins_number.cpp | 421 double radix = base::DECIMAL; in ToString() 436 if (radix == base::DECIMAL) { in ToString()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_bigint_test.cpp | 304 JSHandle<BigInt> bigint2 = BigIntHelper::SetBigInt(thread, bigintStdStr2, BigInt::DECIMAL); in HWTEST_F_L0() 311 JSHandle<EcmaString> bigintEcmaStrDec1 = BigInt::ToString(thread, bigint1, BigInt::DECIMAL); in HWTEST_F_L0() 327 JSHandle<EcmaString> bigintEcmaStrDec2 = BigInt::ToString(thread, bigint2, BigInt::DECIMAL); in HWTEST_F_L0() 330 (bigint2->ToStdString(BigInt::DECIMAL)).c_str()); in HWTEST_F_L0()
|
D | js_serializer_test.cpp | 781 JSHandle<BigInt> bigInt5 = BigIntHelper::SetBigInt(thread, str4, BigInt::DECIMAL); in BigIntTest() 1861 JSHandle<BigInt> bigInt5 = BigIntHelper::SetBigInt(thread, str4, BigInt::DECIMAL); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 1959 case i.DECIMAL:
|