Home
last modified time | relevance | path

Searched refs:NAN (Results 1 – 25 of 153) sorted by relevance

1234567

/external/compiler-rt/test/builtins/Unit/
Dmulsc3_test.c223 {NAN, NAN},
224 {-INFINITY, NAN},
225 {-2, NAN},
226 {-1, NAN},
227 {-0.5, NAN},
228 {-0., NAN},
229 {+0., NAN},
230 {0.5, NAN},
231 {1, NAN},
232 {2, NAN},
[all …]
Dmultc3_test.c222 {NAN, NAN},
223 {-INFINITY, NAN},
224 {-2, NAN},
225 {-1, NAN},
226 {-0.5, NAN},
227 {-0., NAN},
228 {+0., NAN},
229 {0.5, NAN},
230 {1, NAN},
231 {2, NAN},
[all …]
Dmuldc3_test.c219 {NAN, NAN},
220 {-INFINITY, NAN},
221 {-2, NAN},
222 {-1, NAN},
223 {-0.5, NAN},
224 {-0., NAN},
225 {+0., NAN},
226 {0.5, NAN},
227 {1, NAN},
228 {2, NAN},
[all …]
Ddivsc3_test.c223 {NAN, NAN},
224 {-INFINITY, NAN},
225 {-2, NAN},
226 {-1, NAN},
227 {-0.5, NAN},
228 {-0., NAN},
229 {+0., NAN},
230 {0.5, NAN},
231 {1, NAN},
232 {2, NAN},
[all …]
Ddivtc3_test.c225 {NAN, NAN},
226 {-INFINITY, NAN},
227 {-2, NAN},
228 {-1, NAN},
229 {-0.5, NAN},
230 {-0., NAN},
231 {+0., NAN},
232 {0.5, NAN},
233 {1, NAN},
234 {2, NAN},
[all …]
Dmulxc3_test.c221 {NAN, NAN},
222 {-INFINITY, NAN},
223 {-2, NAN},
224 {-1, NAN},
225 {-0.5, NAN},
226 {-0., NAN},
227 {+0., NAN},
228 {0.5, NAN},
229 {1, NAN},
230 {2, NAN},
[all …]
Ddivxc3_test.c225 {NAN, NAN},
226 {-INFINITY, NAN},
227 {-2, NAN},
228 {-1, NAN},
229 {-0.5, NAN},
230 {-0., NAN},
231 {+0., NAN},
232 {0.5, NAN},
233 {1, NAN},
234 {2, NAN},
[all …]
Ddivdc3_test.c223 {NAN, NAN},
224 {-INFINITY, NAN},
225 {-2, NAN},
226 {-1, NAN},
227 {-0.5, NAN},
228 {-0., NAN},
229 {+0., NAN},
230 {0.5, NAN},
231 {1, NAN},
232 {2, NAN},
[all …]
Dunordsf2vfp_test.c37 if (test__unordsf2vfp(0.0, NAN)) in main()
39 if (test__unordsf2vfp(NAN, 1.0)) in main()
41 if (test__unordsf2vfp(NAN, NAN)) in main()
Dunorddf2vfp_test.c37 if (test__unorddf2vfp(0.0, NAN)) in main()
39 if (test__unorddf2vfp(NAN, 1.0)) in main()
41 if (test__unorddf2vfp(NAN, NAN)) in main()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dfmax_fmin_test.cc48 {INFINITY, INFINITY, INFINITY, -INFINITY, INFINITY, -INFINITY, NAN, in TEST_F()
49 INFINITY, -INFINITY, NAN}, in TEST_F()
53 {INFINITY, -INFINITY, NAN, NAN, -4.0, -5.0, -6.0, 7.0, 8.0, 9.0}, in TEST_F()
58 std::vector<float> expected = {INFINITY, INFINITY, NAN, NAN, INFINITY, in TEST_F()
59 -5, NAN, INFINITY, 8, NAN}; in TEST_F()
70 {INFINITY, INFINITY, INFINITY, -INFINITY, INFINITY, -INFINITY, NAN, in TEST_F()
71 INFINITY, -INFINITY, NAN}, in TEST_F()
75 {INFINITY, -INFINITY, NAN, NAN, -4.0, -5.0, -6.0, 7.0, 8.0, 9.0}, in TEST_F()
80 std::vector<float> expected = {INFINITY, -INFINITY, NAN, NAN, -4, in TEST_F()
81 -INFINITY, NAN, 7, -INFINITY, NAN}; in TEST_F()
/external/python/cpython2/Lib/test/
Dieee754.txt27 >>> NAN = float('nan')
33 >>> NAN
37 and NAN:
38 >>> isinf(INF), isinf(NINF), isnan(NAN)
68 >>> NAN == NAN
70 >>> NAN < 0
72 >>> NAN >= 0
76 >>> 1 + NAN
78 >>> 1 * NAN
80 >>> 0 * NAN
[all …]
Dtest_cmath.py8 NAN = float('nan') variable
34 (NAN, -INF),
35 (NAN, -2.3),
36 (NAN, -0.0),
37 (NAN, 0.0),
38 (NAN, 2.3),
39 (NAN, INF),
40 (-INF, NAN),
41 (-2.3, NAN),
42 (-0.0, NAN),
[all …]
Dtest_math.py13 NAN = float('nan') variable
153 self.assertTrue(math.isnan(math.acos(NAN)))
163 self.assertTrue(math.isnan(math.acosh(NAN)))
172 self.assertTrue(math.isnan(math.asin(NAN)))
181 self.assertTrue(math.isnan(math.asinh(NAN)))
190 self.assertTrue(math.isnan(math.atan(NAN)))
201 self.assertTrue(math.isnan(math.atanh(NAN)))
218 self.assertTrue(math.isnan(math.atan2(0., NAN)))
226 self.assertTrue(math.isnan(math.atan2(-0., NAN)))
234 self.assertTrue(math.isnan(math.atan2(INF, NAN)))
[all …]
Dtest_float.py14 NAN = float("nan") variable
293 self.assertTrue(isnan(pow_op(-INF, NAN)))
294 self.assertTrue(isnan(pow_op(-2.0, NAN)))
295 self.assertTrue(isnan(pow_op(-1.0, NAN)))
296 self.assertTrue(isnan(pow_op(-0.5, NAN)))
297 self.assertTrue(isnan(pow_op(-0.0, NAN)))
298 self.assertTrue(isnan(pow_op(0.0, NAN)))
299 self.assertTrue(isnan(pow_op(0.5, NAN)))
300 self.assertTrue(isnan(pow_op(2.0, NAN)))
301 self.assertTrue(isnan(pow_op(INF, NAN)))
[all …]
/external/python/cpython3/Lib/test/
Dieee754.txt27 >>> NAN = float('nan')
33 >>> NAN
37 and NAN:
38 >>> isinf(INF), isinf(NINF), isnan(NAN)
68 >>> NAN == NAN
70 >>> NAN < 0
72 >>> NAN >= 0
76 >>> 1 + NAN
78 >>> 1 * NAN
80 >>> 0 * NAN
[all …]
Dtest_cmath.py12 NAN = float('nan') variable
38 (NAN, -INF),
39 (NAN, -2.3),
40 (NAN, -0.0),
41 (NAN, 0.0),
42 (NAN, 2.3),
43 (NAN, INF),
44 (-INF, NAN),
45 (-2.3, NAN),
46 (-0.0, NAN),
[all …]
Dtest_math.py15 NAN = float('nan') variable
277 self.assertTrue(math.isnan(math.acos(NAN)))
287 self.assertTrue(math.isnan(math.acosh(NAN)))
298 self.assertTrue(math.isnan(math.asin(NAN)))
307 self.assertTrue(math.isnan(math.asinh(NAN)))
316 self.assertTrue(math.isnan(math.atan(NAN)))
327 self.assertTrue(math.isnan(math.atanh(NAN)))
344 self.assertTrue(math.isnan(math.atan2(0., NAN)))
352 self.assertTrue(math.isnan(math.atan2(-0., NAN)))
360 self.assertTrue(math.isnan(math.atan2(INF, NAN)))
[all …]
/external/libcxx/test/std/numerics/complex.number/
Dcases.h42 std::complex<double>(NAN, NAN),
43 std::complex<double>(-INFINITY, NAN),
44 std::complex<double>(-2, NAN),
45 std::complex<double>(-1, NAN),
46 std::complex<double>(-0.5, NAN),
47 std::complex<double>(-0., NAN),
48 std::complex<double>(+0., NAN),
49 std::complex<double>(0.5, NAN),
50 std::complex<double>(1, NAN),
51 std::complex<double>(2, NAN),
[all …]
/external/llvm/test/CodeGen/Mips/
Dfmadd1.ll14 …UN: llc < %s -march=mipsel -mcpu=mips32 | FileCheck %s -check-prefixes=ALL,32,32-NAN
15 …llc < %s -march=mipsel -mcpu=mips32r2 | FileCheck %s -check-prefixes=ALL,32R2,32R2-NAN
16 …llc < %s -march=mipsel -mcpu=mips32r6 | FileCheck %s -check-prefixes=ALL,32R6,32R6-NAN
17 …lc < %s -march=mips64el -mcpu=mips64 -target-abi=n64 | FileCheck %s -check-prefixes=ALL,64,64-NAN
18 … %s -march=mips64el -mcpu=mips64r2 -target-abi=n64 | FileCheck %s -check-prefixes=ALL,64R2,64R2-NAN
19 … %s -march=mips64el -mcpu=mips64r6 -target-abi=n64 | FileCheck %s -check-prefixes=ALL,64R6,64R6-NAN
114 ; 32R2-NAN: mtc1 $6, $[[T0:f[0-9]+]]
115 ; 32R2-NAN: madd.s $[[T1:f[0-9]+]], $[[T0]], $f12, $f14
116 ; 32R2-NAN: mtc1 $zero, $[[T2:f[0-9]+]]
117 ; 32R2-NAN: sub.s $f0, $[[T2]], $[[T1]]
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/
Dfmadd1.ll14 …march=mipsel -mcpu=mips32 | FileCheck %s -check-prefixes=ALL,32-NOMADD,32-NAN-NOMADD
15 …llc < %s -march=mipsel -mcpu=mips32r2 | FileCheck %s -check-prefixes=ALL,32R2,32R2-NAN
16 …h=mipsel -mcpu=mips32r6 | FileCheck %s -check-prefixes=ALL,32R6-NOMADD,32R6-NAN-NOMADD
17 …lc < %s -march=mips64el -mcpu=mips64 -target-abi=n64 | FileCheck %s -check-prefixes=ALL,64,64-NAN
18 … %s -march=mips64el -mcpu=mips64r2 -target-abi=n64 | FileCheck %s -check-prefixes=ALL,64R2,64R2-NAN
19 …s64el -mcpu=mips64r6 -target-abi=n64 | FileCheck %s -check-prefixes=ALL,64R6-NOMADD,64R6-NAN-NOMADD
28 …mcpu=mips32r2 -mattr=+nomadd4 | FileCheck %s -check-prefixes=ALL,32-NOMADD,32-NAN-NOMADD
29 …64 -target-abi=n64 -mattr=+nomadd4 | FileCheck %s -check-prefixes=ALL,64R6-NOMADD,64R6-NAN-NOMADD
30 …64r2 -target-abi=n64 -mattr=+nomadd4 | FileCheck %s -check-prefixes=ALL,64R6-NOMADD,64R6-NAN-NOMADD
125 ; 32R2-NAN: mtc1 $6, $[[T0:f[0-9]+]]
[all …]
/external/catch2/projects/SelfTest/UsageTests/
DMatchers.tests.cpp334 REQUIRE_THAT(NAN, !WithinAbs(NAN, 0));
351 REQUIRE_THAT(NAN, !WithinULP(NAN, 123));
357 REQUIRE_THAT(NAN, !(WithinAbs(NAN, 100) || WithinULP(NAN, 123)));
376 REQUIRE_THAT(NAN, !WithinAbs(NAN, 0));
393 REQUIRE_THAT(NAN, !WithinULP(NAN, 123));
399 REQUIRE_THAT(NAN, !(WithinAbs(NAN, 100) || WithinULP(NAN, 123)));
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
Dfpcmp-opt.ll2 … %s -march=arm -mcpu=cortex-a8 -mattr=+vfp2 -enable-unsafe-fp-math | FileCheck -check-prefix=NAN %s
16 ; NAN: t1:
17 ; NAN: vldr.32 s0,
18 ; NAN: vldr.32 s1,
19 ; NAN: vcmpe.f32 s1, s0
20 ; NAN: vmrs apsr_nzcv, fpscr
21 ; NAN: beq
/external/compiler-rt/test/builtins/Unit/arm/
Daeabi_cdcmpeq_test.c48 if (test__aeabi_cdcmpeq(1.0, NAN, 0)) in main()
50 if (test__aeabi_cdcmpeq(NAN, 1.0, 0)) in main()
52 if (test__aeabi_cdcmpeq(NAN, NAN, 0)) in main()
Daeabi_cfcmpeq_test.c48 if (test__aeabi_cfcmpeq(1.0, NAN, 0)) in main()
50 if (test__aeabi_cfcmpeq(NAN, 1.0, 0)) in main()
52 if (test__aeabi_cfcmpeq(NAN, NAN, 0)) in main()

1234567