/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Math/ |
H A D | e_cosh.c | 47 static const double one = 1.0, half=0.5, huge = 1.0e300; variable 66 w = one+t; 68 return one+(t*t)/(w+w);
|
H A D | e_sinh.c | 39 static const double one = 1.0, shuge = 1.0e307; variable 60 if(shuge+x>one) return x;/* sinh(tiny) = tiny with inexact */ 62 if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one)); 63 return h*(t+t/(t+one));
|
H A D | s_modf.c | 31 static const double one = 1.0; variable 59 *iptr = x*one;
|
H A D | s_tanh.c | 28 * 2. 0 <= x <= 2**-55 : tanh(x) := x*(one+x) 45 static const double one=1.0, two=2.0, tiny = 1.0e-300; variable 59 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */ 60 else return one/x-one; /* tanh(NaN) = NaN */ 66 return x*(one+x); /* tanh(small) = small */ 69 z = one - two/(t+two); 76 z = one - tiny; /* raised inexact flag */
|
H A D | e_fmod.c | 32 static const double one = 1.0, Zero[] = {0.0, -0.0,}; variable 135 x *= one; /* create necessary signal */
|
H A D | k_cos.c | 57 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable 73 if(((int)x)==0) return one; /* generate inexact */ 78 return one - (0.5*z - (z*r - x*y)); 86 a = one-qx;
|
H A D | s_atan.c | 22 * is further reduced to one of the following intervals and the 70 one = 1.0, variable 91 if(huge+x>one) return x; /* raise inexact */ 98 id = 0; x = (2.0*x-one)/(2.0+x); 100 id = 1; x = (x-one)/(x+one); 104 id = 2; x = (x-1.5)/(one+1.5*x);
|
H A D | e_sqrt.c | 40 * | Use the hardware sqrt if you have one | 55 * To compute q from q , one checks whether 89 * After generating the 53 bits result, we compute one more bit. 107 static const double one = 1.0, tiny=1.0e-300; variable 189 z = one-tiny; /* trigger inexact flag */ 190 if (z>=one) { 191 z = one+tiny; 193 else if (z>one) { 218 The second one uses reciproot iterations to avoid division, but 286 This formula has one divisio [all...] |
H A D | k_tan.c | 69 /* one */ 1.00000000000000000000e+00, /* 3FF00000, 00000000 */ 73 #define one xxx[13] macro 91 return one / fabs(x); 101 t = a = -one / w; 103 s = one + t * z;
|
H A D | e_acos.c | 61 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable 97 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); 102 z = (one+x)*0.5; 104 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); 111 z = (one-x)*0.5; 117 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
|
H A D | e_asin.c | 58 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable 93 if(huge+x>one) return x;/* return x with inexact if x!=0*/ 97 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); 102 w = one-fabs(x); 105 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
|
H A D | e_exp.c | 90 one = 1.0, variable 147 if(huge+x>one) return one+x;/* trigger inexact */ 154 if(k==0) return one-((x*c)/(c-2.0)-x); 155 else y = one-((lo-(x*c)/(2.0-c))-hi);
|
H A D | s_expm1.c | 86 * (A). To save one multiplication, we scale the coefficient Qi 122 one = 1.0, variable 163 return tiny-one; /* return -1 */ 192 r1 = one+hxs*(Q1+hxs*(Q2+hxs*(Q3+hxs*(Q4+hxs*Q5)))); 202 else return one+2.0*(x-e); 206 y = one-(e-x); 209 return y-one; 211 t = one; 222 y += one;
|
H A D | k_rem_pio2.c | 56 * precison, one may have to do something like: 152 one = 1.0, variable 222 z = one - z; 223 if(carry!=0) z -= scalbn(one,q0); 259 fw = scalbn(one,q0);
|
H A D | e_pow.c | 89 one = 1.0, variable 131 if((iy|ly)==0) return one; 169 if(hy<0) return one/x; else return x; 183 if(hy<0) z = one/z; /* z = (1/|x|) */ 202 s = one; /* s (sign of result -ve**odd) = -1 else = 1 */ 203 if((n|(yisint-1))==0) s = -one;/* (-ve)**(odd int) */ 211 /* over/underflow if x is not close to one */ 216 t = ax-one; /* t has 20 trailing zeros */ 240 v = one/(ax+bp[k]); 317 z = one [all...] |
/vbox/src/recompiler/Sun/ |
H A D | e_powl-x86.S | 46 # /* figure this one out. */ 84 ASM_TYPE_DIRECTIVE(one,@object) 85 one: .double 1.0 label 86 ASM_SIZE_DIRECTIVE(one) 171 fdivrl MO(one) // 1/x (now referred to as x) 175 .L4: fldl MO(one) // 1 : x 193 fldl MO(one) // 1.0 : x : y 206 fldl MO(one) // 1.0 : x : y 231 faddl MO(one) // 2^fract(y*log2(x)) : int(y*log2(x)) 240 fldl MO(one) // [all...] |
H A D | e_powl-amd64.S | 65 ASM_TYPE_DIRECTIVE(one,@object) 66 one: .double 1.0 label 67 ASM_SIZE_DIRECTIVE(one) 138 fdivrl MO(one) // 1/x (now referred to as x) 142 4: fldl MO(one) // 1 : x 160 fldl MO(one) // 1.0 : x : y 170 fldl MO(one) // 1.0 : x : y 195 faddl MO(one) // 2^fract(y*log2(x)) : int(y*log2(x)) 201 fldl MO(one) // 1 : y*log2(x) 209 fldl MO(one) [all...] |
/vbox/src/recompiler/ |
H A D | qemu-lock.h | 127 unsigned long one; local 136 : "=r" (ret), "=m" (*p), "=r" (one)
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2sock.c | 35 * the terms of any one of the MPL, the GPL or the LGPL. 720 PRUint32 one = 1; local 727 err = _OS2_IOCTL( osfd, FIONBIO, (char *) &one, sizeof(one));
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w95sock.c | 34 * the terms of any one of the MPL, the GPL or the LGPL. 61 u_long one = 1; local 74 if (ioctlsocket( sock, FIONBIO, &one) != 0)
|
H A D | w16sock.c | 34 * the terms of any one of the MPL, the GPL or the LGPL. 97 PRUint32 one = 1; local 117 rv = ioctlsocket( sock, FIONBIO, &one); 277 int one = 1; local
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | instrumt.c | 34 * the terms of any one of the MPL, the GPL or the LGPL. 166 static PRInt32 one = 1; variable 250 CountSomething, &one,
|
H A D | lltest.c | 34 * the terms of any one of the MPL, the GPL or the LGPL. 114 const PRInt32 one = 1l; variable 182 SetFailed( "LL_EQ", "one EQ one" ); 188 SetFailed( "LL_EQ", "minus one EQ minus one"); 191 SetFailed( "LL_EQ", "zero EQ one"); 194 SetFailed( "LL_EQ", "one EQ zero" ); 197 SetFailed( "LL_EQ", "minus one EQ one"); [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/lib/tests/ |
H A D | string.c | 34 * the terms of any one of the MPL, the GPL or the LGPL. 900 const char *one; member in struct:__anon17156 944 PRIntn rv = PL_strcmp(array[i].one, array[i].two); 963 array[i].one ? array[i].one : "(null)", 978 const char *one; member in struct:__anon17157 1089 PRIntn rv = PL_strncmp(array[i].one, array[i].two, array[i].max); 1108 array[i].one ? array[i].one : "(null)", 1123 const char *one; member in struct:__anon17158 1201 const char *one; member in struct:__anon17159 [all...] |
/vbox/src/libs/xpcom18a4/xpcom/reflect/xptcall/tests/ |
H A D | TestXPTCInvoke.cpp | 37 * the terms of any one of the MPL, the GPL or the LGPL. 318 PRInt64 one, two; local 319 LL_I2L(one, 1); 321 if(NS_SUCCEEDED(test->AddTwoLLs(one,one,&out64)))
|