Searched defs:one (Results 1 - 25 of 40) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Math/
H A De_cosh.c47 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 De_sinh.c39 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 Ds_modf.c31 static const double one = 1.0; variable
59 *iptr = x*one;
H A Ds_tanh.c28 * 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 De_fmod.c32 static const double one = 1.0, Zero[] = {0.0, -0.0,}; variable
135 x *= one; /* create necessary signal */
H A Dk_cos.c57 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 Ds_atan.c22 * 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 De_sqrt.c40 * | 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 Dk_tan.c69 /* 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 De_acos.c61 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 De_asin.c58 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 De_exp.c90 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 Ds_expm1.c86 * (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 Dk_rem_pio2.c56 * 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 De_pow.c89 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 De_powl-x86.S46 # /* 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 De_powl-amd64.S65 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 Dqemu-lock.h127 unsigned long one; local
136 : "=r" (ret), "=m" (*p), "=r" (one)
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2sock.c35 * 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 Dw95sock.c34 * 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 Dw16sock.c34 * 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 Dinstrumt.c34 * the terms of any one of the MPL, the GPL or the LGPL.
166 static PRInt32 one = 1; variable
250 CountSomething, &one,
H A Dlltest.c34 * 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 Dstring.c34 * 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 DTestXPTCInvoke.cpp37 * 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)))

Completed in 111 milliseconds

12