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 D | test_import.js | 17 return Math.random() * Number.MAX_SAFE_INTEGER;
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_number.h | 25 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 D | builtins_shared_array.cpp | 449 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 D | builtins_number.cpp | 145 result = (value == number.GetNumber()) && std::abs(value) <= base::MAX_SAFE_INTEGER; in IsSafeInteger()
|
H A D | builtins_array.cpp | 527 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 D | exception_case14.js | 25 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 D | mapget.js | 72 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 D | index.js | 39 exports.INT_VALUE = Number.MAX_SAFE_INTEGER;
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | number_helper.h | 45 static constexpr int64_t MAX_SAFE_INTEGER = 9007199254740991; member 159 return (number == d) && std::abs(d) <= MAX_SAFE_INTEGER;
|
H A D | array_helper.cpp | 360 if (tempArgs.start > base::MAX_SAFE_INTEGER) { in FlattenIntoArray()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | ets_intrinsics_helpers.h | 44 inline constexpr double MAX_SAFE_INTEGER = 9007199254740991; member
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_number_stub_builder.cpp | 223 BRANCH(DoubleLessThanOrEqual(DoubleAbs(f), Double(base::MAX_SAFE_INTEGER)), &retTrue, &retFalse);
in IsSafeInteger()
|
H A D | builtins_array_stub_builder.cpp | 201 BRANCH(Int64GreaterThan(newLen, Int64(base::MAX_SAFE_INTEGER)), slowPath, ¬OverRange); in Unshift() 3116 ZExtInt32ToInt64(*actualDeleteCount)), Int64(base::MAX_SAFE_INTEGER)), slowPath, ¬Overflow); in Splice() 3362 BRANCH(Int64GreaterThan(ZExtInt32ToInt64(*newLen), Int64(base::MAX_SAFE_INTEGER)), in ToSpliced()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | typed_native_inline_lowering.cpp | 1923 builder_.Double(base::MAX_SAFE_INTEGER))) in BuildTaggedIsInteger()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | [all...] |
Completed in 57 milliseconds