Searched refs:INFINITY (Results 1 - 25 of 93) sorted by last modified time

1234

/netbsd-current/tests/lib/libm/
H A Dt_modf.c132 if (isinf(INFINITY)) {
135 x = INFINITY;
144 x = -INFINITY;
245 if (isinf(INFINITY)) {
248 x = INFINITY;
257 x = -INFINITY;
393 if (isinf(INFINITY)) {
396 x = INFINITY;
405 x = -INFINITY;
H A Dt_ilogb.c91 if (isinf(INFINITY)) {
92 ATF_CHECK(ilogbf(INFINITY) == INT_MAX);
94 ATF_CHECK(ilogb(INFINITY) == INT_MAX);
96 ATF_CHECK(ilogbl(INFINITY) == INT_MAX);
99 ATF_CHECK(ilogbf(-INFINITY) == INT_MAX);
101 ATF_CHECK(ilogb(-INFINITY) == INT_MAX);
103 ATF_CHECK(ilogbl(-INFINITY) == INT_MAX);
H A Dt_hypot.c91 INFINITY,
134 INFINITY,
182 INFINITY,
206 if (isinf(INFINITY)) {
207 CHECK_EQ(i, hypotf, x, +INFINITY, INFINITY);
208 CHECK_EQ(i, hypotf, x, -INFINITY, INFINITY);
209 CHECK_EQ(i, hypotf, +INFINITY, x, INFINITY);
[all...]
H A Dt_next.c99 CHECK(i, nextafter, x[i], INFINITY, x[i + 1]);
100 CHECK(i, nexttoward, x[i], INFINITY, x[i + 1]);
106 CHECK(i, nextafter, -x[i], -INFINITY, -x[i + 1]);
107 CHECK(i, nexttoward, -x[i], -INFINITY, -x[i + 1]);
132 CHECK(i, nextafter, x[i], -INFINITY, x[i - 1]);
133 CHECK(i, nexttoward, x[i], -INFINITY, x[i - 1]);
145 CHECK(i, nextafter, -x[i], INFINITY, -x[i - 1]);
146 CHECK(i, nexttoward, -x[i], INFINITY, -x[i - 1]);
181 CHECK(i, nextafterf, x[i], INFINITY, x[i + 1]);
182 CHECK(i, nexttowardf, x[i], INFINITY,
[all...]
H A Dt_bit.c27 { -INFINITY, true },
28 { INFINITY, false },
/netbsd-current/tests/lib/libc/stdio/
H A Dt_printf.c180 ATF_CHECK(sprintf(str, "%010f", INFINITY) == 10);
/netbsd-current/tests/lib/libc/stdlib/
H A Dt_strtod.c49 "INFINITY", "-INFINITY", "InFiNiTy", "+InFiNiTy" };
114 if (!isinf(INFINITY))
133 if (!isinf(INFINITY))
154 if (!isinf(INFINITY))
/netbsd-current/include/
H A Dmath.h117 /* 7.12#4 INFINITY */
119 #define INFINITY __INFINITY /* float constant which overflows */ macro
121 #define INFINITY __builtin_inff() macro
123 #define INFINITY HUGE_VALF /* positive infinity */ macro
/netbsd-current/external/public-domain/sqlite/dist/
H A Dsqlite3.c[all...]
H A Dshell.c20381 #ifdef INFINITY
20383 sqlite3_bind_double(pStmt, i, INFINITY);
/netbsd-current/lib/libm/ld80/
H A De_powl.c111 * pow overflow x**y > MAXNUM INFINITY
274 return( INFINITY );
278 return( INFINITY );
287 return( INFINITY );
291 return( INFINITY );
296 return( INFINITY );
322 return( -INFINITY );
323 return( INFINITY );
342 return( -INFINITY );
343 return( INFINITY );
[all...]
/netbsd-current/lib/libc/regex/
H A Dregcomp.c664 count2 = INFINITY;
1059 count2 = INFINITY;
1578 int to) /* to this number of times (maybe INFINITY) */
1584 # define MAP(n) (((n) <= 1) ? (n) : ((n) == INFINITY) ? INF : N)
/netbsd-current/external/gpl3/gdb/dist/libiberty/
H A Dfloatformat.c44 #ifndef INFINITY
46 #define INFINITY HUGE_VAL macro
48 #define INFINITY (1.0 / 0.0) macro
509 INFINITY macro below may generate a warning that cannot be
518 dto = INFINITY;
787 ieee_test (- INFINITY);
789 ieee_test (INFINITY);
/netbsd-current/external/gpl3/gcc/dist/libiberty/
H A Dfloatformat.c44 #ifndef INFINITY
46 #define INFINITY HUGE_VAL macro
48 #define INFINITY (1.0 / 0.0) macro
514 INFINITY macro below may generate a warning that cannot be
526 dto = INFINITY;
796 ieee_test (- INFINITY);
798 ieee_test (INFINITY);
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/rs6000/
H A D_mulkc3.c30 #define INFINITY __builtin_inff128 () macro
89 x = INFINITY * (a * c - b * d);
90 y = INFINITY * (a * d + b * c);
H A D_divkc3.c30 #define INFINITY __builtin_inff128 () macro
164 x = COPYSIGN (INFINITY, c) * a;
165 y = COPYSIGN (INFINITY, c) * b;
171 x = INFINITY * (a * c + b * d);
172 y = INFINITY * (b * c - a * d);
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/m68k/
H A Dlb1sf68.S244 | 3. +/-INFINITY have e=MAX_EXP, f=0.
694 | Return a properly signed INFINITY and set the exception flags
719 | Return a properly signed INFINITY and set the exception flags
809 cmpl d6,d4 | check for INFINITY or NaN
823 cmpl d6,d5 | check for INFINITY or NaN
1378 | Check for NaN and +/-INFINITY.
1440 movel IMM (0x7ff00000),d4 | useful constant (INFINITY)
1445 | We know that one of them is either NaN of +/-INFINITY
1458 | Now comes the check for +/-INFINITY. We know that both are (maybe not
1476 beq Ld$infty | if a is INFINITY retur
2553 INFINITY = 0x7f800000 define
[all...]
/netbsd-current/external/gpl3/gcc/dist/libgcc/
H A Dlibgcc2.c1965 #define INFINITY CONCAT2(__builtin_huge_val, CEXT) ()
1973 extern void *compile_type_assert[sizeof(INFINITY) == sizeof(MTYPE) ? 1 : -1];
2041 x = INFINITY * (a * c - b * d);
2042 y = INFINITY * (a * d + b * c);
2192 x = COPYSIGN (INFINITY, c) * a;
2193 y = COPYSIGN (INFINITY, c) * b;
2199 x = INFINITY * (a * c + b * d);
2200 y = INFINITY * (b * c - a * d);
1933 #define INFINITY macro
/netbsd-current/external/gpl3/gcc/dist/gcc/ginclude/
H A Dfloat.h261 #undef INFINITY macro
262 #define INFINITY (__builtin_inff ()) macro
/netbsd-current/sys/arch/m68k/060sp/dist/
H A Dfpsp.s22081 # ROUND PLUS INFINITY #
22098 # ROUND MINUS INFINITY #
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/
H A Dfloatformat.c44 #ifndef INFINITY
46 #define INFINITY HUGE_VAL macro
48 #define INFINITY (1.0 / 0.0) macro
509 INFINITY macro below may generate a warning that cannot be
518 dto = INFINITY;
787 ieee_test (- INFINITY);
789 ieee_test (INFINITY);
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/
H A Dfloatformat.c44 #ifndef INFINITY
46 #define INFINITY HUGE_VAL macro
48 #define INFINITY (1.0 / 0.0) macro
498 INFINITY macro below may generate a warning that cannot be
510 dto = INFINITY;
780 ieee_test (- INFINITY);
782 ieee_test (INFINITY);
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/rs6000/
H A D_mulkc3.c30 #define INFINITY __builtin_inff128 () macro
89 x = INFINITY * (a * c - b * d);
90 y = INFINITY * (a * d + b * c);
H A D_divkc3.c30 #define INFINITY __builtin_inff128 () macro
71 x = COPYSIGN (INFINITY, c) * a;
72 y = COPYSIGN (INFINITY, c) * b;
78 x = INFINITY * (a * c + b * d);
79 y = INFINITY * (b * c - a * d);
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/m68k/
H A Dlb1sf68.S244 | 3. +/-INFINITY have e=MAX_EXP, f=0.
685 | Return a properly signed INFINITY and set the exception flags
710 | Return a properly signed INFINITY and set the exception flags
800 cmpl d6,d4 | check for INFINITY or NaN
814 cmpl d6,d5 | check for INFINITY or NaN
1369 | Check for NaN and +/-INFINITY.
1431 movel IMM (0x7ff00000),d4 | useful constant (INFINITY)
1436 | We know that one of them is either NaN of +/-INFINITY
1449 | Now comes the check for +/-INFINITY. We know that both are (maybe not
1467 beq Ld$infty | if a is INFINITY retur
2544 INFINITY = 0x7f800000 define
[all...]

Completed in 935 milliseconds

1234