Home
last modified time | relevance | path

Searched refs:MAX_SAFE_INTEGER (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks-interop-freestyle/interop/bu_a2j/
H A Dtest_import.js17 return Math.random() * Number.MAX_SAFE_INTEGER;
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_number.h25 V(MAX_SAFE_INTEGER) /* Number.MAX_SAFE_INTEGER */ \
76 // 21.1.2.6 Number.MAX_SAFE_INTEGER (which is 2**53 - 1 = 9007199254740991)
77 static constexpr int64_t MAX_SAFE_INTEGER = (1LL << 53) - 1; member in panda::ecmascript::builtins::BuiltinsNumber
H A Dbuiltins_shared_array.cpp449 if (n + len > base::MAX_SAFE_INTEGER) { in Concat()
487 if (n >= base::MAX_SAFE_INTEGER) { in Concat()
1448 if ((len + static_cast<int64_t>(argc)) > base::MAX_SAFE_INTEGER) { in Push()
1917 if (len + insertCount - actualDeleteCount > base::MAX_SAFE_INTEGER) { in Splice()
2157 if (len + argc > base::MAX_SAFE_INTEGER) { in Unshift()
H A Dbuiltins_number.cpp145 result = (value == number.GetNumber()) && std::abs(value) <= base::MAX_SAFE_INTEGER; in IsSafeInteger()
H A Dbuiltins_array.cpp527 if (n + len > base::MAX_SAFE_INTEGER) { in Concat()
562 if (n >= base::MAX_SAFE_INTEGER) { in Concat()
1669 if ((len + static_cast<int64_t>(argc)) > base::MAX_SAFE_INTEGER) { in Push()
2448 if (len + insertCount - actualDeleteCount > base::MAX_SAFE_INTEGER) { in Splice()
2768 if (len + argc > base::MAX_SAFE_INTEGER) { in Unshift()
3233 if (newLen > base::MAX_SAFE_INTEGER) { in ToSpliced()
/arkcompiler/ets_runtime/test/aottest/exception_case14/
H A Dexception_case14.js25 MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1
134 length > 15 && (vv > MAX_SAFE_INTEGER || vv !== mathfloor(vv))) {
/arkcompiler/ets_runtime/test/moduletest/mapget/
H A Dmapget.js72 check(Number.MAX_SAFE_INTEGER);
73 check(Number.MAX_SAFE_INTEGER + 1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interfaces/interface_method_returns_value/js_interface/
H A Dindex.js39 exports.INT_VALUE = Number.MAX_SAFE_INTEGER;
/arkcompiler/ets_runtime/ecmascript/base/
H A Dnumber_helper.h45 static constexpr int64_t MAX_SAFE_INTEGER = 9007199254740991; member
159 return (number == d) && std::abs(d) <= MAX_SAFE_INTEGER;
H A Darray_helper.cpp360 if (tempArgs.start > base::MAX_SAFE_INTEGER) { in FlattenIntoArray()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
H A Dets_intrinsics_helpers.h44 inline constexpr double MAX_SAFE_INTEGER = 9007199254740991; member
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_number_stub_builder.cpp223 BRANCH(DoubleLessThanOrEqual(DoubleAbs(f), Double(base::MAX_SAFE_INTEGER)), &retTrue, &retFalse); in IsSafeInteger()
H A Dbuiltins_array_stub_builder.cpp201 BRANCH(Int64GreaterThan(newLen, Int64(base::MAX_SAFE_INTEGER)), slowPath, &notOverRange); in Unshift()
3116 ZExtInt32ToInt64(*actualDeleteCount)), Int64(base::MAX_SAFE_INTEGER)), slowPath, &notOverflow); in Splice()
3362 BRANCH(Int64GreaterThan(ZExtInt32ToInt64(*newLen), Int64(base::MAX_SAFE_INTEGER)), in ToSpliced()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dtyped_native_inline_lowering.cpp1923 builder_.Double(base::MAX_SAFE_INTEGER))) in BuildTaggedIsInteger()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js[all...]

Completed in 57 milliseconds