Searched refs:one (Results 26 - 50 of 123) sorted by relevance

12345

/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A Ds_atan.c31 * is further reduced to one of the following intervals and the
94 one = 1.0, variable
117 if(huge+x>one) return x; /* raise inexact */
124 id = 0; x = (2.0*x-one)/(2.0+x);
126 id = 1; x = (x-one)/(x+one);
130 id = 2; x = (x-1.5)/(one+1.5*x);
H A Ds_expm1.c90 * (A). To save one multiplication, we scale the coefficient Qi
129 one = 1.0, variable
171 return tiny-one; /* return -1 */
200 r1 = one+hxs*(Q1+hxs*(Q2+hxs*(Q3+hxs*(Q4+hxs*Q5))));
210 else return one+2.0*(x-e);
213 y = one-(e-x);
215 return y-one;
217 t = one;
225 y += one;
H A Ds_erf.c55 * is close to one. The interval is chosen because the fix
58 * guarantee the error is less than one ulp for erf.
131 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
216 return (double)(1-i)+one/x; /* erf(+-inf)=+-1 */
227 s = one+z*(qq1+z*(qq2+z*(qq3+z*(qq4+z*qq5))));
232 s = fabs(x)-one;
234 Q = one+s*(qa1+s*(qa2+s*(qa3+s*(qa4+s*(qa5+s*qa6)))));
238 if(hx>=0) return one-tiny; else return tiny-one;
241 s = one/(
[all...]
H A Dk_cos.c69 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
88 if(((int)x)==0) return one; /* generate inexact */
93 return one - (0.5*z - (z*r - x*y));
102 a = one-qx;
H A De_exp.c97 one = 1.0, variable
154 if(huge+x>one) return one+x;/* trigger inexact */
161 if(k==0) return one-((x*c)/(c-2.0)-x);
162 else y = one-((lo-(x*c)/(2.0-c))-hi);
H A De_acos.c58 one= 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
95 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
99 z = (one+x)*0.5;
101 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
107 z = (one-x)*0.5;
113 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
H A De_sqrt.c29 * | Use the hardware sqrt if you have one |
44 * To compute q from q , one checks whether
78 * After generating the 53 bits result, we compute one more bit.
99 static const double one = 1.0, tiny=1.0e-300; variable
101 static double one = 1.0, tiny=1.0e-300; variable
187 z = one-tiny; /* trigger inexact flag */
188 if (z>=one) {
189 z = one+tiny;
191 else if (z>one) {
217 The second one use
[all...]
H A De_j0.c45 * to compute the worse one.)
86 one = 1.0, variable
113 if(ix>=0x7ff00000) return one/(x*x);
137 if(huge+x>one) { /* raise inexact if x != 0 */
138 if(ix<0x3e400000) return one; /* |x|<2**-27 */
139 else return one - 0.25*x*x;
144 s = one+z*(S01+z*(S02+z*(S03+z*S04)));
146 return one + z*(-0.25+(r/s));
149 return((one+u)*(one
[all...]
H A Ds_modf.c40 static const double one = 1.0; variable
42 static double one = 1.0; variable
76 *iptr = x*one;
H A De_asin.c65 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
100 if(huge+x>one) return x;/* return x with inexact if x!=0*/
104 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
109 w = one-fabs(x);
112 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
H A De_lgamma_r.c82 * Note: one should avoid compute pi*(-x) directly in the
103 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
209 case 4: y = __kernel_sin(pi*(one-y),zero,0); break;
235 if((ix|lx)==0) return one/zero;
244 return one/zero;
246 if(t==zero) return one/zero; /* -integer */
258 if(ix>=0x3FE76944) {y = one-x; i= 0;}
259 else if(ix>=0x3FCDA661) {y= x-(tc-one); i=1;}
265 else {y=x-one;i=2;}
284 p2 = one
[all...]
H A De_j1.c46 * to compute the worse one.)
86 one = 1.0, variable
114 if(ix>=0x7ff00000) return one/x;
139 if(huge+x>one) return 0.5*x;/* inexact if x!=0 necessary */
143 s = one+z*(s01+z*(s02+z*(s03+z*(s04+z*s05))));
185 if(ix>=0x7ff00000) return one/(x+x*x);
186 if((ix|lx)==0) return -one/zero;
207 * to compute the worse one.
221 v = one+z*(V0[0]+z*(V0[1]+z*(V0[2]+z*(V0[3]+z*V0[4]))));
222 return(x*(u/v) + tpi*(__ieee754_j1(x)*__ieee754_log(x)-one/
[all...]
H A Dk_tan.c67 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable
100 return one / fabs(x);
110 t = a = -one / w;
112 s = one + t * z;
H A De_pow.c83 one = 1.0, variable
124 i0 = ((*(int*)&one)>>29)^1; i1=1-i0;
130 if((iy|ly)==0) return one;
168 if(hy<0) return one/x; else return x;
182 if(hy<0) z = one/z; /* z = (1/|x|) */
198 s = one; /* s (sign of result -ve**odd) = -1 else = 1 */
199 if((n|(yisint-1))==0) s = -one;/* (-ve)**(odd int) */
207 /* over/underflow if x is not close to one */
212 t = ax-one; /* t has 20 trailing zeros */
236 v = one/(a
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/constExpr/
H A DNot.java69 value (b.add (one).multiply (negOne));
72 value (twoPow16.subtract (one).subtract (b));
74 value (twoPow32.subtract (one).subtract (b));
76 value (twoPow64.subtract (one).subtract (b));
/openjdk7/jdk/test/java/util/concurrent/CopyOnWriteArrayList/
H A DEqualsRace.java38 final Integer one = Integer.valueOf(1);
39 final List<Integer> oneElementList = Arrays.asList(one);
42 list.add(one);
43 list.remove(one);
/openjdk7/jdk/test/java/lang/Thread/
H A DGenerifyStackTraces.java41 private static Thread one; field in class:GenerifyStackTraces
48 one = new ThreadOne();
49 one.start();
134 StackTraceElement[] stack = one.getStackTrace();
135 checkStack(one, stack, depth);
146 if (t == one) {
H A DStackTraces.java41 private static Thread one; field in class:StackTraces
48 one = new ThreadOne();
49 one.start();
134 StackTraceElement[] stack = one.getStackTrace();
135 checkStack(one, stack, depth);
150 if (t == one) {
/openjdk7/jdk/test/java/io/PushbackInputStream/
H A DSkip.java36 int one, two, last, got;
46 one = in.read();
55 got = (one + two + last);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DLeftOverInputStream.java48 byte[] one = new byte [1]; field in class:LeftOverInputStream
87 int c = readImpl (one, 0, 1);
91 return one[0] & 0xFF;
H A DRequest.java226 byte[] one; field in class:Request.ReadStream
241 one = new byte[1];
250 int result = read (one, 0, 1);
252 return one[0] & 0xFF;
359 byte[] one; field in class:Request.WriteStream
367 one = new byte [1];
372 one[0] = (byte)b;
373 write (one, 0, 1);
/openjdk7/jdk/test/java/util/Collection/
H A DHotPotatoes.java67 final Integer one = Integer.valueOf(1);
68 final List<Integer> oneElementList = Collections.singletonList(one);
73 list.add(one);
74 list.remove(one);
83 (elts.length == 1 && elts[0] == one));
/openjdk7/jdk/test/java/io/Serializable/oldTests/
H A DCheckingEquality.java86 String one; field in class:Firstpsio
91 one = "one";
105 if (!one.equals(other.one)) {
106 System.err.println("\nfirstpsio: expected " + one +
107 " actual " + other.one);
139 if (one == null) {
/openjdk7/jdk/test/com/sun/jdi/
H A DCountEvent.java57 one();
62 void one() { method in class:CountEventTarg
/openjdk7/jdk/test/java/util/concurrent/BlockingQueue/
H A DLastElement.java45 Integer one = 1;
50 q.put(one);
53 check(q.remove(one));
64 q.put(one);
68 check(i.next() == one);

Completed in 94 milliseconds

12345