Searched refs:DECIMAL (Results 1 - 14 of 14) sorted by relevance
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | ets_intrinsics_helpers.h | 40 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 D | ets_intrinsics_helpers.cpp | 171 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 D | number_helper.cpp | 79 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 D | number_helper.h | 41 static constexpr uint8_t DECIMAL = 10; member
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | std_core_Float.cpp | 25 if (UNLIKELY(radix != helpers::DECIMAL)) { in StdCoreFloatToString()
|
H A D | std_core_Double.cpp | 54 if (UNLIKELY(radix != helpers::DECIMAL)) { in StdCoreDoubleToString()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_bigint.h | 41 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 D | js_number_format.h | 28 enum class StyleOption : uint8_t { DECIMAL = 0x01, CURRENCY, PERCENT, UNIT, EXCEPTION }; member in panda::ecmascript::StyleOption
|
H A D | js_number_format.cpp | 24 StyleOption::DECIMAL, StyleOption::PERCENT, StyleOption::CURRENCY, StyleOption::UNIT 87 case StyleOption::DECIMAL: in OptionToEcmaString() 331 StyleOption::DECIMAL); in SetNumberFormatUnitOptions()
|
H A D | dump.cpp | 1794 os << " - value : " << ToStdString(DECIMAL) << "\n"; in Dump()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_bigint.cpp | 174 double radix = base::DECIMAL; in ToString() 188 if (radix == base::DECIMAL) { in ToString()
|
H A D | builtins_number.cpp | 420 double radix = base::DECIMAL; in ToString() 437 if (radix == base::DECIMAL) { in ToString()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_bigint_test.cpp | 280 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 D | cocos_worker_test.js | 1959 case i.DECIMAL: [all...] |
Completed in 47 milliseconds