/openbsd-current/lib/libm/src/ |
H A D | s_logbf.c | 22 int32_t ix; local 23 GET_FLOAT_WORD(ix,x); 24 ix &= 0x7fffffff; /* high |x| */ 25 if(ix==0) return (float)-1.0/fabsf(x); 26 if(ix>=0x7f800000) return x*x; 27 if((ix>>=23)==0) /* IEEE 754 logb */ 30 return (float) (ix-127);
|
H A D | s_logb.c | 25 int32_t lx,ix; local 26 EXTRACT_WORDS(ix,lx,x); 27 ix &= 0x7fffffff; /* high |x| */ 28 if((ix|lx)==0) return -1.0/fabs(x); 29 if(ix>=0x7ff00000) return x*x; 30 if((ix>>=20)==0) /* IEEE 754 logb */ 33 return (double) (ix-1023);
|
H A D | s_fabsf.c | 26 u_int32_t ix; local 27 GET_FLOAT_WORD(ix,x); 28 SET_FLOAT_WORD(x,ix&0x7fffffff);
|
H A D | e_sqrtf.c | 26 int32_t ix,s,q,m,t,i; local 29 GET_FLOAT_WORD(ix,x); 32 if((ix&0x7f800000)==0x7f800000) { 37 if(ix<=0) { 38 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */ 39 else if(ix<0) 43 m = (ix>>23); 45 for(i=0;(ix&0x00800000)==0;i++) ix<<=1; 49 ix [all...] |
H A D | s_frexpf.c | 25 int32_t hx,ix; local 27 ix = 0x7fffffff&hx; 29 if(ix>=0x7f800000||(ix==0)) return x; /* 0,inf,nan */ 30 if (ix<0x00800000) { /* subnormal */ 33 ix = hx&0x7fffffff; 36 *eptr += (ix>>23)-126;
|
H A D | s_tanf.c | 23 int32_t n, ix; local 25 GET_FLOAT_WORD(ix,x); 28 ix &= 0x7fffffff; 29 if(ix <= 0x3f490fda) return __kernel_tanf(x,z,1); 32 else if (ix>=0x7f800000) return x-x; /* NaN */
|
H A D | s_ilogbf.c | 22 int32_t hx,ix; local 30 for (ix = -126,hx<<=8; hx>0; hx<<=1) ix -=1; 31 return ix;
|
H A D | e_atanhf.c | 26 int32_t hx,ix; local 28 ix = hx&0x7fffffff; 29 if (ix>0x3f800000) /* |x|>1 */ 31 if(ix==0x3f800000) 33 if(ix<0x31800000&&(huge+x)>zero) return x; /* x<2**-28 */ 34 SET_FLOAT_WORD(x,ix); 35 if(ix<0x3f000000) { /* x < 0.5 */
|
H A D | s_tan.c | 52 int32_t n, ix; local 55 GET_HIGH_WORD(ix,x); 58 ix &= 0x7fffffff; 59 if(ix <= 0x3fe921fb) return __kernel_tan(x,z,1); 62 else if (ix>=0x7ff00000) return x-x; /* NaN */
|
H A D | e_coshf.c | 26 int32_t ix; local 28 GET_FLOAT_WORD(ix,x); 29 ix &= 0x7fffffff; 32 if(ix>=0x7f800000) return x*x; 35 if(ix<0x3eb17218) { 38 if (ix<0x24000000) return w; /* cosh(tiny) = 1 */ 43 if (ix < 0x41b00000) { 49 if (ix < 0x42b17180) return half*expf(fabsf(x)); 52 if (ix<=0x42b2d4fc) {
|
H A D | s_ilogb.c | 28 int32_t hx,lx,ix; local 38 for (ix = -1043; lx>0; lx<<=1) ix -=1; 40 for (ix = -1022,hx<<=11; hx>0; hx<<=1) ix -=1; 42 return ix;
|
H A D | s_cos.c | 53 int32_t n, ix; local 56 GET_HIGH_WORD(ix,x); 59 ix &= 0x7fffffff; 60 if(ix <= 0x3fe921fb) { 61 if(ix<0x3e46a09e) /* if x < 2**-27 * sqrt(2) */ 67 else if (ix>=0x7ff00000) return x-x;
|
H A D | s_cosf.c | 23 int32_t n,ix; local 25 GET_FLOAT_WORD(ix,x); 28 ix &= 0x7fffffff; 29 if(ix <= 0x3f490fd8) { 30 if(ix<0x39800000) /* if x < 2**-12 */ 37 else if (ix>=0x7f800000) return x-x;
|
H A D | s_sinf.c | 23 int32_t n, ix; local 25 GET_FLOAT_WORD(ix,x); 28 ix &= 0x7fffffff; 29 if(ix <= 0x3f490fd8) { 30 if(ix<0x39800000) /* if x < 2**-12 */ 36 else if (ix>=0x7f800000) return x-x;
|
H A D | s_sin.c | 53 int32_t n, ix; local 56 GET_HIGH_WORD(ix,x); 59 ix &= 0x7fffffff; 60 if(ix <= 0x3fe921fb) { 61 if(ix<0x3e400000) /* |x| < 2**-27 */ 67 else if (ix>=0x7ff00000) return x-x;
|
H A D | e_sinhf.c | 25 int32_t ix,jx; local 28 ix = jx&0x7fffffff; 31 if(ix>=0x7f800000) return x+x; 36 if (ix < 0x41b00000) { /* |x|<22 */ 37 if (ix<0x31800000) /* |x|<2**-28 */ 40 if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one)); 45 if (ix < 0x42b17180) return h*expf(fabsf(x)); 48 if (ix<=0x42b2d4fc) {
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | Wunreachable-6.c | 11 int ix; /* { dg-bogus "will never be executed" } */ local 12 ix = printf("hello\n"); 13 printf("%d\n", ix);
|
H A D | Wunreachable-7.c | 11 int ix; /* { dg-bogus "will never be executed" } */ local 12 ix = printf("hello\n"); 13 printf("%d\n", ix);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.misc-tests/ |
H A D | gcov-8.c | 39 int ix; local 41 for (ix = 0; ix != 1000; ix++) 42 t += foo (ix) + baz (ix);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/init/ |
H A D | array15.C | 21 for (unsigned ix = sizeof (buffer); ix--;) 22 if (buffer[ix]) 36 for (unsigned ix = sizeof (heap); ix--;) 37 heap[ix] = ix;
|
/openbsd-current/lib/libm/src/ld80/ |
H A D | s_ilogbl.c | 31 int32_t esx,hx,lx,ix; local 40 for (ix = -16414; lx>0; lx<<=1) ix -=1; 42 for (ix = -16382; hx>0; hx<<=1) ix -=1; 44 return ix;
|
/openbsd-current/gnu/usr.bin/perl/ext/XS-APItest/t/ |
H A D | savestack.t | 9 my %ix; 11 diag join ", ", map { $ix{$_} > 1 ? "$_ x $ix{$_}" : $_ } sort { $a <=> $b } keys %ix; 17 $str=~/^($pat)(??{ $ix{get_savestack_ix()}++; "(?!)" })/; 18 my $keys= 0+keys %ix; 19 cmp_ok($keys,">",0, "We expect at least one key in %ix for (??{ ... }) test"); 20 cmp_ok($keys,"<=", 2, "We expect no more than two keys in %ix if (??{ ... }) does not leak") 23 %ix= (); 24 $str=~/^($pat)(?{ $ix{m [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | loop-13.c | 7 int i, ix; local 10 for (i = 0, ix = 0; i < n; i++, ix += 2) 13 tmpr = *alpha * x[ix]; 14 tmpi = *alpha * x[ix + 1]; 15 x[ix] = tmpr; 16 x[ix + 1] = tmpi;
|
/openbsd-current/games/trek/ |
H A D | visual.c | 66 int ix, iy, co; local 74 ix = Ship.sectx + v->x; 76 if (ix < 0 || ix >= NSECTS || iy < 0 || iy >= NSECTS) 79 co = Sect[ix][iy]; 80 printf("%d,%d %c ", ix, iy, co); 82 ix = Ship.sectx + v->x; 84 if (ix < 0 || ix >= NSECTS || iy < 0 || iy >= NSECTS) 87 co = Sect[ix][i [all...] |
/openbsd-current/lib/libm/src/ld128/ |
H A D | s_ilogbl.c | 32 int32_t ix; local 41 for (ix = -16431; lx>0; lx<<=1) ix -=1; 43 for (ix = -16382, hx<<=15; hx>0; hx<<=1) ix -=1; 45 return ix;
|