/arkcompiler/ets_runtime/test/moduletest/regressmathmaxmin/ |
H A D | regressmathmaxmin.js | 52 // assertEquals(NaN, 53 print(Math.max(object_factory(0, NaN, [0]))); 57 // assertEquals(NaN, 58 print(Math.max(object_factory(0, NaN, [0, 0]), 63 // assertEquals(NaN, 64 print(Math.max(object_factory(0, NaN, [0, 0, 0]), 70 // assertEquals(NaN, 73 object_factory(2, NaN, [1, 1, 0]))); 87 // assertEquals(NaN, 88 print(Math.min(object_factory(0, NaN, [ [all...] |
/arkcompiler/ets_runtime/test/moduletest/mapget/ |
H A D | mapget.js | 67 check(Number.NaN); 74 check(Number.NaN); 113 new Map([[NaN, "ark_NaNValue"]]), 145 [NaN, "ark_NaNValue"], 199 const value = testMap.get(NaN); 200 const result1 = testMap.has(NaN); 202 testMap.set(NaN, "value"); 206 emptyMap.delete(NaN);
|
/arkcompiler/ets_runtime/test/moduletest/arrayjoin/ |
H A D | arrayjoin.js | 95 v5[0] = NaN; 99 v6[0] = NaN; 100 v6[1] = NaN; 104 v7[0] = NaN;
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/language/arguments-object/ |
H A D | test-key-named-bound-value.js | 19 NaN : NaN, 41 print(number[NaN]);
|
H A D | test-key-named-called-func-bound-value.js | 25 NaN: function () { 27 return "Successfully called key NaN"; 103 print(obj[NaN]());
|
/arkcompiler/ets_runtime/test/aottest/regressioncase/ |
H A D | regressioncase.js | 34 print(Number.NaN != Number.NaN);
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/ets_proxy/ |
H A D | check_access_primitives.js | 58 testAccessors('float', 0, 1, 1.25, 0x1234 / 256, Infinity, NaN); 59 testAccessors('double', 0, 1, 1.33333, 0x123456789a / 256, Infinity, NaN);
|
/arkcompiler/ets_runtime/test/aottest/bigint_typed_array_constructors/ |
H A D | bigint_typed_array_constructors.js | 23 result = sample.findIndex(function() { return NaN; });
|
/arkcompiler/ets_runtime/test/moduletest/changelistener/ |
H A D | changelistener.js | 36 o16.c += NaN;
|
/arkcompiler/ets_runtime/test/moduletest/array/ |
H A D | array.js | 274 "Group 6: fromIndex is NaN", [ 275 arr.indexOf(0, NaN), // 0 276 arr.indexOf(10, NaN), // 1 277 arr.lastIndexOf(0, NaN), // 0 278 arr.lastIndexOf(10, NaN), // -1 893 [NaN, NaN, NaN], 1143 arr.fill(0, NaN); 1201 const array = [6, 7, 8, 9, 10, NaN, undefine [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/es_object/to_string/ |
H A D | test_to_string_method.js | 47 return NaN;
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interfaces/interface_method_returns_value/js_interface/ |
H A D | index.js | 69 return Number.NaN; 147 return Number.NaN;
|
/arkcompiler/ets_runtime/test/moduletest/typedarraynan/ |
H A D | typedarraynan.js | 18 * @tc.desc:test TypedArray with NaN 55 array2[0] = NaN;
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/src/ |
H A D | script_module.rb | 49 def NaN method in ScriptModule 50 "NaN"
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_number.h | 30 V(NaN) /* Number.NaN */ \ 88 // 21.1.2.10 Number.NaN 89 static constexpr double NaN = NAN; member in panda::ecmascript::builtins::BuiltinsNumber
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/js_files/ |
H A D | heapdump.js | 31 let num3 = NaN; // nan number
|
/arkcompiler/ets_runtime/test/moduletest/string/ |
H A D | string.js | 278 const v1 = [5.101952721978723,-1.2836190437943387,-1.1815850946332814e+308,2.220446049250313e-16,-680.5741773264597,0.8970365641701358,NaN]; 365 print(start_str.padStart(NaN, "123")); 374 print('abc'.padEnd(NaN, 'def') );
|
/arkcompiler/ets_runtime/test/moduletest/regress/ |
H A D | regress.js | 96 print(isNaN(new Date(Number.NaN).getTime())); 97 print(isNaN(new Date(Number.NaN, "").getTime()));
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/js/ |
H A D | constantProgagation.js | 384 let a = NaN; 418 let a = NaN;
|
/arkcompiler/toolchain/tooling/test/testcases/js/ |
H A D | watch_variable.js | 194 map3.set(NaN, 'NaN');
|
H A D | variable_first.js | 191 map3.set(NaN, 'NaN');
|
/arkcompiler/ets_runtime/test/moduletest/typearray/ |
H A D | typearray.js | 852 // For arrays of floats, certain handling of +-0/NaN 853 var b = new constructor([1, +0, -0, NaN, -0, NaN, +0, 3, 2])
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 9305 6001: "The new %s must not be NaN", 23534 const Xh = jh.map(((t, e) => "-" === t ? NaN : e)).filter(isFinite); [all...] |