| /arkcompiler/ets_runtime/test/aottest/binaryop_special_value/ |
| D | expect_output.txt | 15 NaN 16 NaN 17 NaN 18 NaN 19 NaN 34 NaN 35 NaN 36 NaN 37 NaN 38 NaN [all …]
|
| /arkcompiler/ets_runtime/test/aottest/mod/ |
| D | expect_output.txt | 17 NaN 18 NaN 21 NaN 22 NaN 23 NaN 24 NaN 25 NaN 26 NaN 27 NaN 28 NaN [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/21.multiplicative_expressions/01.multiplication/ |
| D | nan.params.yaml | 14 --- # List of multiplications where Double.NaN involved 15 nan: 16 - { x: Double.NaN, y: Double.NaN, result: Double.NaN } 17 - { x: Double.NaN, y: 0.0, result: Double.NaN } 18 - { x: 0.0, y: Double.NaN, result: Double.NaN } 19 - { x: Double.NaN, y: 1.0, result: Double.NaN } 20 - { x: 1.0, y: Double.NaN, result: Double.NaN } 22 - { x: Double.NaN, y: Double.POSITIVE_INFINITY, result: Double.NaN } 23 - { x: Double.POSITIVE_INFINITY, y: Double.NaN, result: Double.NaN } 25 - { x: Double.NaN, y: Double.NEGATIVE_INFINITY, result: Double.NaN } [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/exp/ |
| D | expect_output.txt | 15 NaN 16 NaN 17 NaN 18 NaN 20 NaN 22 NaN 23 NaN 25 NaN 26 NaN 27 NaN [all …]
|
| /arkcompiler/ets_runtime/test/aottest/equal_nan/ |
| D | equal_nan.ts | 15 print(NaN == NaN); 16 print(NaN === NaN); 17 print(NaN != NaN); 18 print(NaN !== NaN); 19 print(Number.NaN == Number.NaN); 20 print(Number.NaN === Number.NaN); 21 print(Number.NaN != Number.NaN); 22 print(Number.NaN !== Number.NaN);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | DoubleTest.ets | 31 "NaN", 32 "nan", 65 NaN, 66 NaN, 69 NaN, 70 NaN, 71 NaN, 76 NaN, 84 NaN, 85 NaN, [all …]
|
| D | GoodRadixTest.ets | 20 failures += test(checkGoodRadix(Double.NaN, 2, "NaN"), "Check Nan with radix 2"); 24 failures += test(checkGoodRadix(Double.NaN, 8, "NaN"), "Check Nan with radix 8"); 28 failures += test(checkGoodRadix(Double.NaN, 10, "NaN"), "Check Nan with radix 10"); 32 failures += test(checkGoodRadix(Double.NaN, 16, "NaN"), "Check Nan with radix 10");
|
| D | IntlNumberFormatRangeNaNTest.ets | 23 …failures += check(FormatRangeNaNNumberUnion(), "Intl NumberFormat.formatRange NaN +number. Called … 24 …failures += check(FormatRangeNumberNaNUnion(), "Intl NumberFormat.formatRange -number NaN. Called … 25 …failures += check(FormatRangeNaNBigIntUnion(), "Intl NumberFormat.formatRange NaN +BigInt. Called … 26 …failures += check(FormatRangeBigIntNaNUnion(), "Intl NumberFormat.formatRange -BigInt NaN. Called … 27 …failures += check(FormatRangeNaNNaNUnion(), "Intl NumberFormat.formatRange NaN NaN. Called union-t… 72 … msg \"" + e + "\" is mismatched expected \"" + expected + "\" when call nf.formatRange with NaN"); 75 console.log(funcName + ". Not issued TypeError when call nf.formatRange with NaN "); 82 const startValue = NaN; 84 const expected = "TypeError: Invalid start: NaN"; 100 const endValue = NaN; [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/regressmathmaxmin/ |
| D | expect_output.txt | 15 NaN 16 NaN 17 NaN 18 NaN 21 NaN 22 NaN 23 NaN 24 NaN 27 NaN 28 NaN [all …]
|
| 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, [0]))); [all …]
|
| /arkcompiler/ets_runtime/test/jittest/load_element_from_float64_array/ |
| D | expect_output.txt | 20 print(hide(-1.47688022616793e-310) % hide( NaN)); 21 print(hide(-1.47688022616793e-310) >> hide( NaN)); 22 print(hide(-1.47688022616793e-310) >>> hide( NaN)); 23 print(hide(-1.47688022616793e-310) << hide( NaN)); 24 print(hide(-1.47688022616793e-310) | hide( NaN)); 27 print(hide(NaN) % hide( -1.47688022616793e-310)); 28 print(hide(NaN) >> hide( -1.47688022616793e-310)); 29 print(hide(NaN) >>> hide( -1.47688022616793e-310)); 30 print(hide(NaN) << hide( -1.47688022616793e-310)); 31 print(hide(NaN) | hide( -1.47688022616793e-310)); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/deopt_clear_aotflags/ |
| D | expect_output.txt | 14 NaN 15 NaN 16 NaN 17 NaN 18 NaN 19 NaN 20 NaN 21 NaN 22 NaN 23 NaN [all …]
|
| /arkcompiler/ets_runtime/test/aottest/pgo_ldobjbyvalue_string/ |
| D | pgo_expect_output.txt | 32 NaN 33 NaN 34 NaN 40 NaN 43 NaN 47 NaN 48 NaN 49 NaN 55 NaN 58 NaN
|
| D | expect_output.txt | 33 NaN 34 NaN 35 NaN 41 NaN 44 NaN 48 NaN 49 NaN 50 NaN 56 NaN 59 NaN
|
| /arkcompiler/ets_runtime/test/aottest/builtinmath/ |
| D | expect_output.txt | 16 NaN 17 NaN 20 NaN 21 NaN 34 NaN 35 NaN 43 NaN 44 NaN
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/22.additive_expressions/02.additive_operators_for_numeric_types/ |
| D | nan.params.yaml | 14 --- # List of addition tests where NaN is result 15 nan: 16 - {x: "Double.NaN", y: "Double.NaN", type: "double"} 17 - {x: 1.0, y: "Double.NaN", type: "double"} 18 - {x: "Double.NaN", y: 1.0, type: "double"} 21 - {x: "Double.NaN", y: "Double.NEGATIVE_INFINITY", type: "double"} 22 - {x: "Double.NEGATIVE_INFINITY", y: "Double.NaN", type: "double"} 23 - {x: "Double.NaN", y: "Double.POSITIVE_INFINITY", type: "double"} 24 - {x: "Double.POSITIVE_INFINITY", y: "Double.NaN", type: "double"}
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/21.multiplicative_expressions/03.remainder/ |
| D | nan.params.yaml | 14 --- # List of remainder tests where Double.NaN involved 16 - { x: Double.NaN, y: Double.NaN } 17 - { x: Double.NaN, y: 1.0 } 18 - { x: 1.0, y: Double.NaN } 19 - { x: Double.NaN, y: -1.0 } 20 - { x: Double.NaN, y: Double.POSITIVE_INFINITY } 21 - { x: Double.POSITIVE_INFINITY, y: Double.NaN } 22 - { x: Double.NaN, y: Double.NEGATIVE_INFINITY } 23 - { x: Double.NEGATIVE_INFINITY, y: Double.NaN }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/21.multiplicative_expressions/02.division/ |
| D | nan.params.yaml | 14 --- # List of multiplications where Double.NaN involved 16 - { x: 'Double.NaN', y: 'Double.NaN' } 17 - { x: 'Double.NaN', y: 1.0 } 18 - { x: 1.0, y: 'Double.NaN' } 20 - { x: 'Double.NaN', y: 'Double.POSITIVE_INFINITY' } 21 - { x: 'Double.POSITIVE_INFINITY', y: 'Double.NaN' } 22 - { x: 'Double.NaN', y: 'Double.NEGATIVE_INFINITY' } 23 - { x: 'Double.NEGATIVE_INFINITY', y: 'Double.NaN' }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Math.ets | 74 * Math.abs(doubleNaN) = NaN 95 * acos(doubleNaN) = -nan 96 * acos(doubleInf) = nan 97 * acos(doubleNegInf) = nan 112 * Math.acosh(doubleNaN) = -NaN 114 * Math.acosh(doubleNegInf) = -NaN 141 * Math.asinh(doubleNaN) = -NaN 159 * Math.atan(doubleNaN) = -NaN 190 * Math.atanh(doubleNaN) = -NaN 191 * Math.atanh(doubleInf) = -NaN [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_math.cpp | 34 // if number_value is double,NaN,Undefine, deal in this case in Abs() 58 // value == -NaN , <-1 or > 1,result is NaN in Acos() 113 // value == -NaN, NaN, result is NaN in Asinh() 132 // value == -NaN, NaN, result is NaN in Atan() 182 // If either x or y is NaN, the result is NaN in Atan2() 200 // if value == -NaN, NaN, result is NaN in Cbrt() 219 // If value is NaN or -NaN, +infinite, -infinite,return value in Ceil() 221 // if value is -NaN , return NaN, else return value in Ceil() 246 // If value is NaN or -NaN, +infinite, -infinite, 0,return 32 in Clz32() 264 // If value is NaN or -NaN, +infinite, -infinite, result is NaN in Cos() [all …]
|
| /arkcompiler/runtime_core/static_core/tests/regression/ |
| D | fcmp.pa | 18 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 22 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 27 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 28 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 35 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 39 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 44 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 45 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
|
| /arkcompiler/runtime_core/tests/regression/ |
| D | fcmp.pa | 18 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 22 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 27 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 28 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 35 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 39 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 44 fldai.64 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754 45 movi.64 v0, 0x7FFFFFFFFFFFFFFF # One of valid quiet NaN values as per IEEE 754
|
| /arkcompiler/ets_runtime/test/moduletest/builtins/ |
| D | expect_output.txt | 25 NaN 26 NaN 42 NaN 53 NaN 71 NaN 84 NaN 85 NaN 86 NaN 94 NaN 107 NaN [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_es_checked/ |
| D | array.yaml | 17 … - Array.of<number>(0, -0.0, 4, 1, 2, -1, Infinity, 11, -Infinity, 1, 21, 111, NaN, -NaN, 0, -0.0) 22 … "-self.length + 1", 1.1, 5.0, 100.0, -1.1, 2.0, "Infinity", "-Infinity", "NaN", "0x8 as number", … 23 … "-self.length + 1", 1.1, 5.0, 100.0, -1.1, 2.0, "Infinity", "-Infinity", "NaN", "0x8 as number", … 24 default_search: ["NaN", "-NaN", "Infinity", "-Infinity", 0.0, "-0.0", 100, 1] 50 …- combinationRest "Array.of<number>(1)", "Array.of<number>()", "Array.of<number>(NaN, 10, Infinity… 68 - paramOf(1.0, 12.0, "NaN") 77 … Array.of<number>(0, -0.0, 4, 1, 2, -1, Infinity, 11, -Infinity, 1, 21, 111, NaN, -NaN, 0, -0.0) 147 - Array.of<number>(2, 14, 7, 7, 18, NaN, NaN, 15, 12, 7, 20, 18, 1, 4) 151 const fn2 = (a: number, b: number): number => NaN 171 # - paramOf '0.0', 'NaN', '-1.0' [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/math/ |
| D | BoundariesTest.ets | 18 const nan = Double.NaN; 32 return Double.isNaN(abs(nan)) 42 && Double.isNaN(sin(nan)) 50 && Double.isNaN(cos(nan)) 56 return Double.isNaN(acosh(nan)) 62 return Double.isNaN(acos(nan)) 68 return Double.isNaN(asin(nan)) 74 return Double.isNaN(atan(nan)) 82 return signbit(nan) 88 return Double.isNaN(round(nan)) [all …]
|