Home
last modified time | relevance | path

Searched refs:NaN (Results 1 - 23 of 23) sorted by relevance

/arkcompiler/ets_runtime/test/moduletest/regressmathmaxmin/
H A Dregressmathmaxmin.js52 // 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 Dmapget.js67 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 Darrayjoin.js95 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 Dtest-key-named-bound-value.js19 NaN : NaN,
41 print(number[NaN]);
H A Dtest-key-named-called-func-bound-value.js25 NaN: function () {
27 return "Successfully called key NaN";
103 print(obj[NaN]());
/arkcompiler/ets_runtime/test/aottest/regressioncase/
H A Dregressioncase.js34 print(Number.NaN != Number.NaN);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/ets_proxy/
H A Dcheck_access_primitives.js58 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 Dbigint_typed_array_constructors.js23 result = sample.findIndex(function() { return NaN; });
/arkcompiler/ets_runtime/test/moduletest/changelistener/
H A Dchangelistener.js36 o16.c += NaN;
/arkcompiler/ets_runtime/test/moduletest/array/
H A Darray.js274 "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 Dtest_to_string_method.js47 return NaN;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interfaces/interface_method_returns_value/js_interface/
H A Dindex.js69 return Number.NaN;
147 return Number.NaN;
/arkcompiler/ets_runtime/test/moduletest/typedarraynan/
H A Dtypedarraynan.js18 * @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 Dscript_module.rb49 def NaN method in ScriptModule
50 "NaN"
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_number.h30 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 Dheapdump.js31 let num3 = NaN; // nan number
/arkcompiler/ets_runtime/test/moduletest/string/
H A Dstring.js278 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 Dregress.js96 print(isNaN(new Date(Number.NaN).getTime()));
97 print(isNaN(new Date(Number.NaN, "").getTime()));
/arkcompiler/runtime_core/bytecode_optimizer/tests/js/
H A DconstantProgagation.js384 let a = NaN;
418 let a = NaN;
/arkcompiler/toolchain/tooling/test/testcases/js/
H A Dwatch_variable.js194 map3.set(NaN, 'NaN');
H A Dvariable_first.js191 map3.set(NaN, 'NaN');
/arkcompiler/ets_runtime/test/moduletest/typearray/
H A Dtypearray.js852 // 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 Dcocos_worker_test.js9305 6001: "The new %s must not be NaN",
23534 const Xh = jh.map(((t, e) => "-" === t ? NaN : e)).filter(isFinite);
[all...]

Completed in 36 milliseconds