Home
last modified time | relevance | path

Searched refs:INFINITY (Results 1 – 25 of 85) sorted by relevance

1234

/external/compiler-rt/test/builtins/Unit/ppc/
Dqmul_test.c25 #define INFINITY __builtin_inf() macro
35 { INFINITY, 0.0, 0.0, 0.0, QNAN, 0.0 },
36 { -INFINITY, 0.0, 0.0, 0.0, QNAN, 0.0 },
37 { INFINITY, 0.0, -0.0, 0.0, QNAN, 0.0 },
38 { -INFINITY, 0.0, -0.0, 0.0, QNAN, 0.0 },
39 { INFINITY, 0.0, 1.0, 0.0, INFINITY, 0.0 },
40 { -INFINITY, 0.0, 1.0, 0.0, -INFINITY, 0.0 },
41 { INFINITY, 0.0, -1.0, 0.0, -INFINITY, 0.0 },
42 { -INFINITY, 0.0, -1.0, 0.0, INFINITY, 0.0 },
43 { INFINITY, 0.0, HUGE, 0.0, INFINITY, 0.0 },
[all …]
Dqdiv_test.c25 #define INFINITY __builtin_inf() macro
35 { INFINITY, 0.0, 0.0, 0.0, INFINITY, 0.0 },
36 { -INFINITY, 0.0, 0.0, 0.0, -INFINITY, 0.0 },
37 { INFINITY, 0.0, -0.0, 0.0, -INFINITY, 0.0 },
38 { -INFINITY, 0.0, -0.0, 0.0, INFINITY, 0.0 },
39 { INFINITY, 0.0, 1.0, 0.0, INFINITY, 0.0 },
40 { -INFINITY, 0.0, 1.0, 0.0, -INFINITY, 0.0 },
41 { INFINITY, 0.0, -1.0, 0.0, -INFINITY, 0.0 },
42 { -INFINITY, 0.0, -1.0, 0.0, INFINITY, 0.0 },
43 { INFINITY, 0.0, HUGE, 0.0, INFINITY, 0.0 },
[all …]
Dqadd_test.c25 #define INFINITY __builtin_inf() macro
35 { INFINITY, 0.0, 0.0, 0.0, INFINITY, 0.0 },
36 { -INFINITY, 0.0, 0.0, 0.0, -INFINITY, 0.0 },
37 { INFINITY, 0.0, -0.0, 0.0, INFINITY, 0.0 },
38 { -INFINITY, 0.0, -0.0, 0.0, -INFINITY, 0.0 },
39 { INFINITY, 0.0, 1.0, 0.0, INFINITY, 0.0 },
40 { -INFINITY, 0.0, 1.0, 0.0, -INFINITY, 0.0 },
41 { INFINITY, 0.0, -1.0, 0.0, INFINITY, 0.0 },
42 { -INFINITY, 0.0, -1.0, 0.0, -INFINITY, 0.0 },
43 { INFINITY, 0.0, HUGE, 0.0, INFINITY, 0.0 },
[all …]
Dqsub_test.c25 #define INFINITY __builtin_inf() macro
35 { INFINITY, 0.0, -0.0, 0.0, INFINITY, 0.0 },
36 { -INFINITY, 0.0, -0.0, 0.0, -INFINITY, 0.0 },
37 { INFINITY, 0.0, 0.0, 0.0, INFINITY, 0.0 },
38 { -INFINITY, 0.0, 0.0, 0.0, -INFINITY, 0.0 },
39 { INFINITY, 0.0, -1.0, 0.0, INFINITY, 0.0 },
40 { -INFINITY, 0.0, -1.0, 0.0, -INFINITY, 0.0 },
41 { INFINITY, 0.0, 1.0, 0.0, INFINITY, 0.0 },
42 { -INFINITY, 0.0, 1.0, 0.0, -INFINITY, 0.0 },
43 { INFINITY, 0.0, -HUGE, 0.0, INFINITY, 0.0 },
[all …]
/external/compiler-rt/test/builtins/Unit/
Dpowisf2_test.c42 if (test__powisf2(INFINITY, 0, 1)) in main()
53 if (test__powisf2(-INFINITY, 0, 1)) in main()
95 if (test__powisf2(INFINITY, 1, INFINITY)) in main()
97 if (test__powisf2(INFINITY, 2, INFINITY)) in main()
99 if (test__powisf2(INFINITY, 3, INFINITY)) in main()
101 if (test__powisf2(INFINITY, 4, INFINITY)) in main()
103 if (test__powisf2(INFINITY, 0x7FFFFFFE, INFINITY)) in main()
105 if (test__powisf2(INFINITY, 0x7FFFFFFF, INFINITY)) in main()
108 if (test__powisf2(-INFINITY, 1, -INFINITY)) in main()
110 if (test__powisf2(-INFINITY, 2, INFINITY)) in main()
[all …]
Dpowidf2_test.c42 if (test__powidf2(INFINITY, 0, 1)) in main()
53 if (test__powidf2(-INFINITY, 0, 1)) in main()
95 if (test__powidf2(INFINITY, 1, INFINITY)) in main()
97 if (test__powidf2(INFINITY, 2, INFINITY)) in main()
99 if (test__powidf2(INFINITY, 3, INFINITY)) in main()
101 if (test__powidf2(INFINITY, 4, INFINITY)) in main()
103 if (test__powidf2(INFINITY, 0x7FFFFFFE, INFINITY)) in main()
105 if (test__powidf2(INFINITY, 0x7FFFFFFF, INFINITY)) in main()
108 if (test__powidf2(-INFINITY, 1, -INFINITY)) in main()
110 if (test__powidf2(-INFINITY, 2, INFINITY)) in main()
[all …]
Dpowixf2_test.c47 if (test__powixf2(INFINITY, 0, 1)) in main()
58 if (test__powixf2(-INFINITY, 0, 1)) in main()
100 if (test__powixf2(INFINITY, 1, INFINITY)) in main()
102 if (test__powixf2(INFINITY, 2, INFINITY)) in main()
104 if (test__powixf2(INFINITY, 3, INFINITY)) in main()
106 if (test__powixf2(INFINITY, 4, INFINITY)) in main()
108 if (test__powixf2(INFINITY, 0x7FFFFFFE, INFINITY)) in main()
110 if (test__powixf2(INFINITY, 0x7FFFFFFF, INFINITY)) in main()
113 if (test__powixf2(-INFINITY, 1, -INFINITY)) in main()
115 if (test__powixf2(-INFINITY, 2, INFINITY)) in main()
[all …]
Dpowitf2_test.c48 if (test__powitf2(INFINITY, 0, 1)) in main()
59 if (test__powitf2(-INFINITY, 0, 1)) in main()
101 if (test__powitf2(INFINITY, 1, INFINITY)) in main()
103 if (test__powitf2(INFINITY, 2, INFINITY)) in main()
105 if (test__powitf2(INFINITY, 3, INFINITY)) in main()
107 if (test__powitf2(INFINITY, 4, INFINITY)) in main()
109 if (test__powitf2(INFINITY, 0x7FFFFFFE, INFINITY)) in main()
111 if (test__powitf2(INFINITY, 0x7FFFFFFF, INFINITY)) in main()
114 if (test__powitf2(-INFINITY, 1, -INFINITY)) in main()
116 if (test__powitf2(-INFINITY, 2, INFINITY)) in main()
[all …]
Dmulxc3_test.c222 {-INFINITY, NAN},
231 {INFINITY, NAN},
233 {NAN, -INFINITY},
234 {-INFINITY, -INFINITY},
235 {-2, -INFINITY},
236 {-1, -INFINITY},
237 {-0.5, -INFINITY},
238 {-0., -INFINITY},
239 {+0., -INFINITY},
240 {0.5, -INFINITY},
[all …]
Ddivxc3_test.c226 {-INFINITY, NAN},
235 {INFINITY, NAN},
237 {NAN, -INFINITY},
238 {-INFINITY, -INFINITY},
239 {-2, -INFINITY},
240 {-1, -INFINITY},
241 {-0.5, -INFINITY},
242 {-0., -INFINITY},
243 {+0., -INFINITY},
244 {0.5, -INFINITY},
[all …]
Ddivtc3_test.c226 {-INFINITY, NAN},
235 {INFINITY, NAN},
237 {NAN, -INFINITY},
238 {-INFINITY, -INFINITY},
239 {-2, -INFINITY},
240 {-1, -INFINITY},
241 {-0.5, -INFINITY},
242 {-0., -INFINITY},
243 {+0., -INFINITY},
244 {0.5, -INFINITY},
[all …]
Ddivdc3_test.c224 {-INFINITY, NAN},
233 {INFINITY, NAN},
235 {NAN, -INFINITY},
236 {-INFINITY, -INFINITY},
237 {-2, -INFINITY},
238 {-1, -INFINITY},
239 {-0.5, -INFINITY},
240 {-0., -INFINITY},
241 {+0., -INFINITY},
242 {0.5, -INFINITY},
[all …]
Dmulsc3_test.c224 {-INFINITY, NAN},
233 {INFINITY, NAN},
235 {NAN, -INFINITY},
236 {-INFINITY, -INFINITY},
237 {-2, -INFINITY},
238 {-1, -INFINITY},
239 {-0.5, -INFINITY},
240 {-0., -INFINITY},
241 {+0., -INFINITY},
242 {0.5, -INFINITY},
[all …]
Dmultc3_test.c223 {-INFINITY, NAN},
232 {INFINITY, NAN},
234 {NAN, -INFINITY},
235 {-INFINITY, -INFINITY},
236 {-2, -INFINITY},
237 {-1, -INFINITY},
238 {-0.5, -INFINITY},
239 {-0., -INFINITY},
240 {+0., -INFINITY},
241 {0.5, -INFINITY},
[all …]
Dmuldc3_test.c220 {-INFINITY, NAN},
229 {INFINITY, NAN},
231 {NAN, -INFINITY},
232 {-INFINITY, -INFINITY},
233 {-2, -INFINITY},
234 {-1, -INFINITY},
235 {-0.5, -INFINITY},
236 {-0., -INFINITY},
237 {+0., -INFINITY},
238 {0.5, -INFINITY},
[all …]
Ddivsc3_test.c224 {-INFINITY, NAN},
233 {INFINITY, NAN},
235 {NAN, -INFINITY},
236 {-INFINITY, -INFINITY},
237 {-2, -INFINITY},
238 {-1, -INFINITY},
239 {-0.5, -INFINITY},
240 {-0., -INFINITY},
241 {+0., -INFINITY},
242 {0.5, -INFINITY},
[all …]
/external/libcxx/test/std/numerics/complex.number/
Dcases.h43 std::complex<double>(-INFINITY, NAN),
52 std::complex<double>(INFINITY, NAN),
54 std::complex<double>(NAN, -INFINITY),
55 std::complex<double>(-INFINITY, -INFINITY),
56 std::complex<double>(-2, -INFINITY),
57 std::complex<double>(-1, -INFINITY),
58 std::complex<double>(-0.5, -INFINITY),
59 std::complex<double>(-0., -INFINITY),
60 std::complex<double>(+0., -INFINITY),
61 std::complex<double>(0.5, -INFINITY),
[all …]
/external/valgrind/none/tests/arm/
Dvfp.c1065 TESTINSN_core_to_scalar("vmov.32 d30[0], r5", d30, r5, f2u(INFINITY)); in main()
1066 TESTINSN_core_to_scalar("vmov.32 d11[1], r6", d11, r6, f2u(-INFINITY)); in main()
1073 TESTINSN_core_to_scalar("vmov.16 d0[0], r5", d0, r5, f2u(INFINITY)); in main()
1074 TESTINSN_core_to_scalar("vmov.16 d7[1], r5", d7, r5, f2u(-INFINITY)); in main()
1079 TESTINSN_core_to_scalar("vmov.8 d20[2], r5", d20, r5, f2u(INFINITY)); in main()
1080 TESTINSN_core_to_scalar("vmov.8 d30[3], r5", d30, r5, f2u(-INFINITY)); in main()
1088 TESTINSN_scalar_to_core("vmov.32 r6, d5[1]", r6, d5, i32, f2u(INFINITY)); in main()
1089 TESTINSN_scalar_to_core("vmov.32 r4, d10[0]", r4, d10, i32, f2u(-INFINITY)); in main()
1096 TESTINSN_scalar_to_core("vmov.u16 r3, d30[1]", r3, d30, i32, f2u(INFINITY)); in main()
1097 TESTINSN_scalar_to_core("vmov.u16 r6, d21[2]", r6, d21, i32, f2u(-INFINITY)); in main()
[all …]
Dvfpv4_fma.c82 …TESTINSN_bin_f64("vfma.f64 d0, d11, d12", d0, d11, i32, f2u0(-INFINITY), f2u1(-INFINITY), d12, i… in main()
83 …TESTINSN_bin_f64("vfma.f64 d7, d1, d6", d7, d1, i32, f2u0(INFINITY), f2u1(INFINITY), d6, i32,… in main()
100 …TESTINSN_bin_f64("vfma.f64 d29, d25, d7", d29, d25, i32, f2u0(-INFINITY), f2u1(-INFINITY), d7, i3… in main()
101 …TESTINSN_bin_f64("vfma.f64 d0, d11, d12", d0, d11, i32, f2u0(INFINITY), f2u1(INFINITY), d12, i32… in main()
103 …ma.f64 d0, d5, d2", d0, d5, i32, f2u0(INFINITY), f2u1(INFINITY), d2, i32, f2u0(-INFINITY), f2… in main()
104 …TESTINSN_bin_f64("vfma.f64 d20, d13, d15", d20, d13, i32, f2u0(-INFINITY), f2u1(-INFINITY), d15, i… in main()
105 …TESTINSN_bin_f64("vfma.f64 d10, d23, d15", d10, d23, i32, f2u0(INFINITY), f2u1(INFINITY), d15, i32… in main()
106 TESTINSN_bin_f32("vfma.f32 s0, s11, s12", s0, s11, i32, f2u(-INFINITY), s12, i32, f2u(NAN)); in main()
107 TESTINSN_bin_f32("vfma.f32 s7, s1, s6", s7, s1, i32, f2u(INFINITY), s6, i32, f2u(NAN)); in main()
124 TESTINSN_bin_f32("vfma.f32 s29, s25, s7", s29, s25, i32, f2u(-INFINITY), s7, i32, f2u(1752)); in main()
[all …]
Dneon128.c2265 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(NAN), q2, i32, f2u(INFINITY)); in main()
2266 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(NAN), q2, i32, f2u(-INFINITY)); in main()
2270 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(0.0), q2, i32, f2u(INFINITY)); in main()
2271 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(0.0), q2, i32, f2u(-INFINITY)); in main()
2272 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(INFINITY), q2, i32, f2u(NAN)); in main()
2273 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(INFINITY), q2, i32, f2u(1.0)); in main()
2274 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(INFINITY), q2, i32, f2u(0.0)); in main()
2275 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(INFINITY), q2, i32, f2u(INFINITY)); in main()
2276 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(INFINITY), q2, i32, f2u(-INFINITY)); in main()
2277 TESTINSN_bin("vadd.f32 q0, q1, q2", q0, q1, i32, f2u(-INFINITY), q2, i32, f2u(NAN)); in main()
[all …]
Dneon64.c3618 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(NAN), d2, i32, f2u(INFINITY)); in main()
3619 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(NAN), d2, i32, f2u(-INFINITY)); in main()
3623 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(0.0), d2, i32, f2u(INFINITY)); in main()
3624 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(0.0), d2, i32, f2u(-INFINITY)); in main()
3625 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(INFINITY), d2, i32, f2u(NAN)); in main()
3626 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(INFINITY), d2, i32, f2u(1.0)); in main()
3627 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(INFINITY), d2, i32, f2u(0.0)); in main()
3628 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(INFINITY), d2, i32, f2u(INFINITY)); in main()
3629 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(INFINITY), d2, i32, f2u(-INFINITY)); in main()
3630 TESTINSN_bin("vadd.f32 d0, d1, d2", d0, d1, i32, f2u(-INFINITY), d2, i32, f2u(NAN)); in main()
[all …]
/external/compiler-rt/test/builtins/Unit/arm/
Daeabi_cdcmpeq_test.c54 if (test__aeabi_cdcmpeq(INFINITY, 1.0, 0)) in main()
56 if (test__aeabi_cdcmpeq(0.0, INFINITY, 0)) in main()
58 if (test__aeabi_cdcmpeq(-INFINITY, 0.0, 0)) in main()
60 if (test__aeabi_cdcmpeq(0.0, -INFINITY, 0)) in main()
62 if (test__aeabi_cdcmpeq(INFINITY, INFINITY, 1)) in main()
64 if (test__aeabi_cdcmpeq(-INFINITY, -INFINITY, 1)) in main()
Daeabi_cfcmpeq_test.c54 if (test__aeabi_cfcmpeq(INFINITY, 1.0, 0)) in main()
56 if (test__aeabi_cfcmpeq(0.0, INFINITY, 0)) in main()
58 if (test__aeabi_cfcmpeq(-INFINITY, 0.0, 0)) in main()
60 if (test__aeabi_cfcmpeq(0.0, -INFINITY, 0)) in main()
62 if (test__aeabi_cfcmpeq(INFINITY, INFINITY, 1)) in main()
64 if (test__aeabi_cfcmpeq(-INFINITY, -INFINITY, 1)) in main()
/external/valgrind/none/tests/s390x/
Dtcxb.c55 printf("%d", tcxb(+INFINITY, 1UL<<i)); in main()
56 printf("%d", tcxb(-INFINITY, 1UL<<i)); in main()
65 printf("%d", tcdb(+INFINITY, 1UL<<i)); in main()
66 printf("%d", tcdb(-INFINITY, 1UL<<i)); in main()
75 printf("%d", tcdb(+INFINITY, 1UL<<i)); in main()
76 printf("%d", tcdb(-INFINITY, 1UL<<i)); in main()
86 printf("%d", tceb(+INFINITY, 1UL<<i)); in main()
87 printf("%d", tceb(-INFINITY, 1UL<<i)); in main()
/external/libcxx/test/std/strings/string.conversions/
Dstof.pass.cpp41 assert(std::stof("1.e60", &idx) == INFINITY); in main()
50 assert(std::stof(L"1.e60", &idx) == INFINITY); in main()
60 assert(std::stof("1.e360", &idx) == INFINITY); in main()
69 assert(std::stof(L"1.e360", &idx) == INFINITY); in main()
78 assert(std::stof("INF", &idx) == INFINITY); in main()
88 assert(std::stof(L"INF", &idx) == INFINITY); in main()

1234