Home
last modified time | relevance | path

Searched full:infinity (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/freebsd/lib/msun/tests/
H A Dnext_test.c111 test##prec(next(0.0, INFINITY), eps, ex_under); \ in ATF_TC_BODY()
112 test##prec(next(-0.0, -INFINITY), -eps, ex_under) in ATF_TC_BODY()
131 testall(INFINITY, INFINITY, INFINITY, 0); in ATF_TC_BODY()
132 testall(-INFINITY, -INFINITY, -INFINITY, 0); in ATF_TC_BODY()
145 testboth(1.0, -INFINITY, 1.0 - DBL_EPSILON / 2, 0, ); in ATF_TC_BODY()
147 testboth(1.0, -INFINITY, 1.0 - FLT_EPSILON / 2, 0, f); in ATF_TC_BODY()
149 testboth(1.0, -INFINITY, 1.0 - ldbl_eps / 2, 0, l); in ATF_TC_BODY()
152 testboth(-1.0, -INFINITY, -1.0 - DBL_EPSILON, 0, ); in ATF_TC_BODY()
154 testboth(-1.0, -INFINITY, -1.0 - FLT_EPSILON, 0, f); in ATF_TC_BODY()
156 testboth(-1.0, -INFINITY, -1.0 - ldbl_eps, 0, l); in ATF_TC_BODY()
[all …]
H A Dcexp_test.c138 testall(CMPLXL(INFINITY, NAN), CMPLXL(INFINITY, NAN), in ATF_TC_BODY()
141 testall(CMPLXL(-INFINITY, NAN), CMPLXL(0.0, 0.0), in ATF_TC_BODY()
155 testall(CMPLXL(finites[i], INFINITY), CMPLXL(NAN, NAN), in ATF_TC_BODY()
160 testall(CMPLXL(-INFINITY, M_PI_4), CMPLXL(0.0, 0.0), in ATF_TC_BODY()
162 testall(CMPLXL(-INFINITY, 3 * M_PI_4), CMPLXL(-0.0, 0.0), in ATF_TC_BODY()
164 testall(CMPLXL(-INFINITY, 5 * M_PI_4), CMPLXL(-0.0, -0.0), in ATF_TC_BODY()
166 testall(CMPLXL(-INFINITY, 7 * M_PI_4), CMPLXL(0.0, -0.0), in ATF_TC_BODY()
168 testall(CMPLXL(-INFINITY, 0.0), CMPLXL(0.0, 0.0), in ATF_TC_BODY()
170 testall(CMPLXL(-INFINITY, -0.0), CMPLXL(0.0, -0.0), in ATF_TC_BODY()
174 testall(CMPLXL(INFINITY, M_PI_4), CMPLXL(INFINITY, INFINITY), in ATF_TC_BODY()
[all …]
H A Dinvctrig_test.c185 z = CMPLXL(NAN, INFINITY); in ATF_TC_BODY()
186 testall(cacosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, CS_REAL); in ATF_TC_BODY()
187 testall(cacosh, -z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, CS_REAL); in ATF_TC_BODY()
188 testall(cacos, z, CMPLXL(NAN, -INFINITY), ALL_STD_EXCEPT, 0, CS_IMAG); in ATF_TC_BODY()
189 testall(casinh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
190 testall(casin, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, CS_IMAG); in ATF_TC_BODY()
194 z = CMPLXL(INFINITY, NAN); in ATF_TC_BODY()
195 testall_even(cacosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, in ATF_TC_BODY()
197 testall_even(cacos, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
198 testall_odd(casinh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, in ATF_TC_BODY()
[all …]
H A Dfma_test.c124 testall(INFINITY, 1.0, -1.0, INFINITY, ALL_STD_EXCEPT, 0); in test_infinities()
125 testall(-1.0, INFINITY, 0.0, -INFINITY, ALL_STD_EXCEPT, 0); in test_infinities()
126 testall(0.0, 0.0, INFINITY, INFINITY, ALL_STD_EXCEPT, 0); in test_infinities()
127 testall(1.0, 1.0, INFINITY, INFINITY, ALL_STD_EXCEPT, 0); in test_infinities()
128 testall(1.0, 1.0, -INFINITY, -INFINITY, ALL_STD_EXCEPT, 0); in test_infinities()
130 testall(INFINITY, -INFINITY, 1.0, -INFINITY, ALL_STD_EXCEPT, 0); in test_infinities()
131 testall(INFINITY, INFINITY, 1.0, INFINITY, ALL_STD_EXCEPT, 0); in test_infinities()
132 testall(-INFINITY, -INFINITY, INFINITY, INFINITY, ALL_STD_EXCEPT, 0); in test_infinities()
134 testall(0.0, INFINITY, 1.0, NAN, ALL_STD_EXCEPT, FE_INVALID); in test_infinities()
135 testall(INFINITY, 0.0, -0.0, NAN, ALL_STD_EXCEPT, FE_INVALID); in test_infinities()
[all …]
H A Dinvtrig_test.c136 testall(asin, INFINITY, NAN, FE_INVALID); in ATF_TC_BODY()
137 testall(acos, INFINITY, NAN, FE_INVALID); in ATF_TC_BODY()
138 testall(atan, INFINITY, pi / 2, FE_INEXACT); in ATF_TC_BODY()
139 testall(asin, -INFINITY, NAN, FE_INVALID); in ATF_TC_BODY()
140 testall(acos, -INFINITY, NAN, FE_INVALID); in ATF_TC_BODY()
141 testall(atan, -INFINITY, -pi / 2, FE_INEXACT); in ATF_TC_BODY()
163 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT); in ATF_TC_BODY()
164 testall2(atan2, -INFINITY, -INFINITY, -c3pi / 4, FE_INEXACT); in ATF_TC_BODY()
165 testall2(atan2, INFINITY, INFINITY, pi / 4, FE_INEXACT); in ATF_TC_BODY()
166 testall2(atan2, -INFINITY, INFINITY, -pi / 4, FE_INEXACT); in ATF_TC_BODY()
[all …]
H A Dcsqrt_test.c157 INFINITY, in test_infinities()
158 -INFINITY, in test_infinities()
165 assert_equal(t_csqrt(CMPLXL(-INFINITY, vals[i])), in test_infinities()
166 CMPLXL(0.0, copysignl(INFINITY, vals[i]))); in test_infinities()
167 assert_equal(t_csqrt(CMPLXL(INFINITY, vals[i])), in test_infinities()
168 CMPLXL(INFINITY, copysignl(0.0, vals[i]))); in test_infinities()
170 assert_equal(t_csqrt(CMPLXL(vals[i], INFINITY)), in test_infinities()
171 CMPLXL(INFINITY, INFINITY)); in test_infinities()
172 assert_equal(t_csqrt(CMPLXL(vals[i], -INFINITY)), in test_infinities()
173 CMPLXL(INFINITY, -INFINITY)); in test_infinities()
[all …]
H A Dctrig_test.c194 z = CMPLXL(NAN, INFINITY); in ATF_TC_BODY()
198 testall_odd(csin, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
199 testall_even(ccos, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, in ATF_TC_BODY()
203 z = CMPLXL(INFINITY, NAN); in ATF_TC_BODY()
204 testall_odd(csinh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
205 testall_even(ccosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, in ATF_TC_BODY()
232 atf_tc_set_md_var(tc, "descr", "test infinity inputs"); in ATF_TC_HEAD()
249 z = CMPLXL(INFINITY, INFINITY); in ATF_TC_BODY()
250 testall_odd(csinh, z, CMPLXL(INFINITY, NAN), in ATF_TC_BODY()
252 testall_even(ccosh, z, CMPLXL(INFINITY, NAN), in ATF_TC_BODY()
[all …]
H A Dexponential_test.c105 testall0(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); in run_generic_tests()
106 testall1(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); in run_generic_tests()
109 testall0(-INFINITY, 0.0, ALL_STD_EXCEPT, 0); in run_generic_tests()
110 testall1(-INFINITY, -1.0, ALL_STD_EXCEPT, 0); in run_generic_tests()
114 testall0(50000.0, INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_OVERFLOW); in run_generic_tests()
115 testall1(50000.0, INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_OVERFLOW); in run_generic_tests()
H A Dlogarithm_test.c106 testall0(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
107 testall1(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
110 testall0(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); in ATF_TC_BODY()
111 testall1(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); in ATF_TC_BODY()
116 testall0(0.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); in ATF_TC_BODY()
117 testall0(-0.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); in ATF_TC_BODY()
118 testall1(-1.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); in ATF_TC_BODY()
H A Dfmaxmin_test.c104 testall(42.0, nextafterf(42.0, -INFINITY)); in ATF_TC_BODY()
109 testall(nextafterf(42.0, INFINITY), 42.0); in ATF_TC_BODY()
132 testall(INFINITY, NAN); in ATF_TC_BODY()
138 testall(INFINITY, 1.0); in ATF_TC_BODY()
144 testall(-3.0, -INFINITY); in ATF_TC_BODY()
150 testall(3.0, -INFINITY); in ATF_TC_BODY()
H A Dconj_test.c61 0.0, INFINITY,
62 0.0, -INFINITY,
63 INFINITY, 0.0,
67 -INFINITY, INFINITY,
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_casinh.c25 { +5.032E3, +INFINITY, +INFINITY, +M_PI/2},
26 { +INFINITY, +5.023E3, +INFINITY, +0},
27 { +INFINITY, +INFINITY, +INFINITY, +M_PI/4},
29 { +INFINITY, +NAN, +INFINITY, +NAN},
33 { +NAN, +INFINITY, +INFINITY, +NAN}, /* sign of real part of result unspecified */
H A Dt_ilogb.c87 ATF_CHECK(ilogbf(INFINITY) == INT_MAX); in ATF_TC_BODY()
89 ATF_CHECK(ilogb(INFINITY) == INT_MAX); in ATF_TC_BODY()
92 ATF_CHECK(ilogbl(INFINITY) == INT_MAX); in ATF_TC_BODY()
96 ATF_CHECK(ilogbf(-INFINITY) == INT_MAX); in ATF_TC_BODY()
98 ATF_CHECK(ilogb(-INFINITY) == INT_MAX); in ATF_TC_BODY()
101 ATF_CHECK(ilogbl(-INFINITY) == INT_MAX); in ATF_TC_BODY()
/freebsd/usr.bin/login/
H A Dlogin.conf112 # :cputime=infinity:\
117 # :filesize=infinity:\
118 # :coredumpsize=infinity:\
163 # :vmemoryuse=infinity:\
190 # :cputime=infinity:\
191 # :datasize=infinity:\
192 # :stacksize=infinity:\
193 # :memorylocked=infinity:\
194 # :memoryuse=infinity:\
195 # :filesize=infinity:\
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_mul_impl.inc25 // Detect if a or b is zero, denormal, infinity, or NaN.
40 // infinity * non-zero = +/- infinity
43 // infinity * zero = NaN
49 // non-zero * infinity = +/- infinity
52 // zero * infinity = NaN
93 // If we have overflowed the type, return +/- infinity.
120 // Perform the final rounding. The final result may overflow to infinity,
H A Dfp_add_impl.inc23 // Detect if a or b is zero, infinity, or NaN.
34 // +/-infinity + -/+infinity = qNaN
37 // +/-infinity + anything remaining = +/- infinity
42 // anything remaining + +/-infinity = +/-infinity
128 // If we have overflowed the type, return +/- infinity.
151 // Perform the final rounding. The result may overflow to infinity, but
/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devppkey_ecc.txt82 Reason=point at infinity
90 Reason=point at infinity
160 Reason=point at infinity
168 Reason=point at infinity
238 Reason=point at infinity
246 Reason=point at infinity
316 Reason=point at infinity
324 Reason=point at infinity
396 Reason=point at infinity
404 Reason=point at infinity
[all …]
/freebsd/contrib/bearssl/src/ec/
H A Dec_prime_i31.c131 * -- for the point at infinity, z = 0
204 * If y = 0 (P has order 2) then this yields infinity (z' = 0), as it
208 * If P is infinity (z = 0), then again the formulas yield infinity,
282 * If both P1 and P2 are infinity, then z1 == 0 and z2 == 0, implying that
284 * If either of P1 or P2 is infinity, but not both, then z3 == 0, which is
287 * -- if s1 == s2 then P1 and/or P2 is infinity, or P1 == P2
288 * -- if s1 != s2 then P1 + P2 == infinity (but neither P1 or P2 is infinity)
301 * -- Both points are infinity.
302 * -- One point is infinity and the other is on line Y = 0.
305 * source points are non-infinity, then remains only the case where the
[all …]
H A Dec_prime_i15.c132 * -- for the point at infinity, z = 0
205 * If y = 0 (P has order 2) then this yields infinity (z' = 0), as it
209 * If P is infinity (z = 0), then again the formulas yield infinity,
283 * If both P1 and P2 are infinity, then z1 == 0 and z2 == 0, implying that
285 * If either of P1 or P2 is infinity, but not both, then z3 == 0, which is
288 * -- if s1 == s2 then P1 and/or P2 is infinity, or P1 == P2
289 * -- if s1 != s2 then P1 + P2 == infinity (but neither P1 or P2 is infinity)
302 * -- Both points are infinity.
303 * -- One point is infinity and the other is on line Y = 0.
306 * source points are non-infinity, then remains only the case where the
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/
H A Ddfaddsub.S162 // +0 unless round towards negative infinity
228 // We get either max finite value or infinity. Either way, overflow+inexact
237 BTMP = combine(##0x7ff00000,#0) // positive infinity
247 if (p0.new) ATMP = BTMP // we should get infinity
275 // Infinity + non-infinity number is infinity
276 // Infinity + infinity --> inf or nan
277 p1 = dfclass(A,#0x08) // A is infinity
H A Ddfmul.S258 // We get either max finite value or infinity. Either way, overflow+inexact
267 BTMP = combine(##0x7ff00000,#0) // positive infinity
277 if (p0.new) ATMP = BTMP // we should get infinity
303 // Infinity * nonzero number is infinity
304 p1 = dfclass(A,#0x08) // A is infinity
308 // Infinity * zero --> NaN, raise invalid
310 p0 = dfclass(A,#0x08) // A is infinity
/freebsd/sys/contrib/device-tree/src/arm/sigmastar/
H A Dmstar-infinity-msc313-breadbee_crust.dts8 #include "mstar-infinity-msc313.dtsi"
9 #include "mstar-infinity-breadbee-common.dtsi"
13 compatible = "thingyjp,breadbee-crust", "mstar,infinity";
/freebsd/lib/libc/powerpc64/gen/
H A Dinfinity.c4 __RCSID("$NetBSD: infinity.c,v 1.2 1998/11/14 19:31:02 christos Exp $");
7 /* infinity.c */
11 /* bytes for +Infinity on powerpc */
/freebsd/lib/libc/powerpc/gen/
H A Dinfinity.c4 __RCSID("$NetBSD: infinity.c,v 1.2 1998/11/14 19:31:02 christos Exp $");
7 /* infinity.c */
11 /* bytes for +Infinity on powerpc */
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_strtod.c49 { "Inf", "INF", "-Inf", "-INF", "Infinity", "+Infinity",
50 "INFINITY", "-INFINITY", "InFiNiTy", "+InFiNiTy" };

12345678910>>...19