Searched refs:one (Results 1 - 25 of 94) sorted by relevance

1234

/device/linaro/bootloader/edk2/StdLib/LibC/Math/
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 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_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 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 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 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 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_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 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 Ds_modf.c31 static const double one = 1.0; variable
59 *iptr = x*one;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
H A Dtest_dep_util.py38 one = os.path.join(sources, 'one')
42 self.write_file(one)
46 self.assertEqual(newer_pairwise([one, two], [three, four]),
47 ([one],[three]))
53 one = os.path.join(sources, 'one')
60 self.write_file(one)
63 self.assertTrue(newer_group([one, two, three], old_file))
64 self.assertFalse(newer_group([one, tw
[all...]
H A Dtest_install_data.py24 one = os.path.join(pkg_dir, 'one')
25 self.write_file(one, 'xxx')
30 cmd.data_files = [one, (inst2, [two])]
31 self.assertEqual(cmd.get_inputs(), [one, (inst2, [two])])
41 rone = os.path.split(one)[-1]
45 # let's try with warn_dir one
62 cmd.data_files = [one, (inst2, [two]),
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
H A Ds_atanf.c45 one = 1.0, variable
63 if(huge+x>one) return x; /* raise inexact */
70 id = 0; x = ((float)2.0*x-one)/((float)2.0+x);
72 id = 1; x = (x-one)/(x+one);
76 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x);
H A De_expf.c25 one = 1.0, variable
79 if(huge+x>one) return one+x;/* trigger inexact */
90 if(k==0) return one-((x*c)/(c-(float)2.0)-x);
91 else y = one-((lo-(x*c)/((float)2.0-c))-hi);
/device/google/contexthub/firmware/lib/libm/
H A Def_sqrt.c19 static const float one = 1.0, tiny=1.0e-30; variable
21 static float one = 1.0, tiny=1.0e-30; variable
76 z = one-tiny; /* trigger inexact flag */
77 if (z>=one) {
78 z = one+tiny;
79 if (z>one)
H A Dsf_atan.c64 one = 1.0, variable
86 if(huge+x>one) return x; /* raise inexact */
93 id = 0; x = ((float)2.0*x-one)/((float)2.0+x);
95 id = 1; x = (x-one)/(x+one);
99 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x);
H A Dkf_cos.c23 one = 1.0000000000e+00, /* 0x3f800000 */ variable
43 if(((int)x)==0) return one; /* generate inexact */
48 return one - ((float)0.5*z - (z*r - x*y));
56 a = one-qx;
H A Def_exp.c27 one = 1.0, variable
80 if(huge+x>one) return one+x;/* trigger inexact */
86 if(k==0) return one-((x*c)/(c-(float)2.0)-x);
87 else y = one-((lo-(x*c)/((float)2.0-c))-hi);
H A Def_asin.c23 one = 1.0000000000e+00, /* 0x3F800000 */ variable
58 if(huge+x>one) return x;/* return x with inexact if x!=0*/
62 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
68 w = one-fabsf(x);
71 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
H A Def_fmod.c25 static const float one = 1.0, Zero[] = {0.0, -0.0,}; variable
27 static float one = 1.0, Zero[] = {0.0, -0.0,}; variable
110 x *= one; /* create necessary signal */
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dtestcapi_long.h78 * provoke one-over-the-limit cases (not exhaustive, but sharp).
81 PyObject *one, *x, *y;
85 one = PyLong_FromLong(1);
86 if (one == NULL)
91 x = PyNumber_Negative(one);
113 x = PyNumber_Lshift(one, y); /* 1L << NBITS, == 2**NBITS */
132 y = PyNumber_Rshift(x, one); /* 2**(NBITS-1) */
157 y = PyNumber_Subtract(x, one); /* -(2**(NBITS-1))-1 */
177 Py_DECREF(one);
/device/generic/mini-emulator-x86_64/
H A DBoardConfig.mk14 # share the same one across all mini-emulators
/device/google/cuttlefish_common/host/vsoc/lib/
H A Dregion_control.cpp65 uint64_t one = 1; variable
66 ssize_t rval = outgoing_interrupt_fd_->Write(&one, sizeof(one));
67 if (rval != sizeof(one)) {
68 LOG(FATAL) << __FUNCTION__ << ": rval (" << rval << ") != sizeof(one))";
76 uint64_t one = 1; variable
77 ssize_t rval = incoming_interrupt_fd_->Write(&one, sizeof(one));
78 if (rval != sizeof(one)) {
79 LOG(FATAL) << __FUNCTION__ << ": rval (" << rval << ") != sizeof(one))";
[all...]

Completed in 143 milliseconds

1234