Home
last modified time | relevance | path

Searched refs:dval (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Ddtoa.c179 dval(d) += 0; /* normalize */
181 if (!dval(d)) {
200 b = d2b(dval(d), &be, &bbits);
208 dval(d2) = dval(d);
213 dval(d2) /= 1 << j;
252 dval(d2) = (double)x;
258 ds = (dval(d2)-1.5)*0.289529654602168 + 0.1760912590558 + i*0.301029995663981;
264 if (dval(d) < tens[k])
342 dval(d2) = dval(d);
352 dval(d) /= bigtens[n_bigtens-1];
[all …]
Dstrtod.c109 dval(rv) = 0.; in strtod()
318 dval(rv) = (double)y; in strtod()
324 dval(rv) = tens[k - 9] * dval(rv) + z; in strtod()
348 /* rv = */ rounded_product(dval(rv), tens[e]); in strtod()
365 dval(rv) *= tens[i]; in strtod()
372 /* rv = */ rounded_product(dval(rv), tens[e]); in strtod()
378 /* rv = */ rounded_product(dval(rv), tens[e]); in strtod()
392 /* rv = */ rounded_quotient(dval(rv), tens[-e]); in strtod()
423 dval(rv) *= tens[i]; in strtod()
449 dval(rv0) = 1e300; in strtod()
[all …]
Dgdtoa.c218 dval(d) = b2d(b, &i); in gdtoa()
224 dval(d) /= 1 << j; in gdtoa()
252 ds = (dval(d)-1.5)*0.289529654602168 + 0.1760912590558 + i*0.301029995663981; in gdtoa()
267 dval(d) *= 1 << jj1; in gdtoa()
273 if (dval(d) < tens[k]) in gdtoa()
351 d2 = dval(d); in gdtoa()
354 dval(d) /= 1 << j; in gdtoa()
365 dval(d) /= bigtens[n_bigtens-1]; in gdtoa()
377 dval(d) *= tens[jj1 & 0xf]; in gdtoa()
381 dval(d) *= bigtens[i]; in gdtoa()
[all …]
Dstrtodg.c326 dval(rv) = 0.; in strtodg()
515 dval(rv) = (double)y; in strtodg()
517 dval(rv) = tens[k - 9] * dval(rv) + z; in strtodg()
521 if (rvOK(dval(rv), fpi, expt, bits, 1, rd, &irv)) in strtodg()
526 i = fivesbits[e] + mantbits(dval(rv)) <= P; in strtodg()
527 /* rv = */ rounded_product(dval(rv), tens[e]); in strtodg()
528 if (rvOK(dval(rv), fpi, expt, bits, i, rd, &irv)) in strtodg()
540 dval(rv) *= tens[i]; in strtodg()
541 /* rv = */ rounded_product(dval(rv), tens[e2]); in strtodg()
542 if (rvOK(dval(rv), fpi, expt, bits, 0, rd, &irv)) in strtodg()
[all …]
Dsmisc.c101 dval(da) = b2d(a, &ka);
102 dval(db) = b2d(b, &kb);
108 dval(da) *= 1 << k;
114 dval(db) *= 1 << k;
124 return dval(da) / dval(db);
Dgdtoaimp.h267 #define dval(x) x macro
283 #define dval(x) ( /* LINTED */ (U*)&x)->d macro
Dmisc.c711 return dval(d);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Ddtoa.c197 #define dval(x) (x)->d macro
1011 return dval(&u); in ulp()
1048 return dval(&d); in b2d()
1184 dval(&da) = b2d(a, &ka); in ratio()
1185 dval(&db) = b2d(b, &kb); in ratio()
1193 return dval(&da) / dval(&db); in ratio()
1502 dval(rv) += sulp(rv, bc); in bigcomp()
1520 dval(&rv) = 0.; in _Py_dg_strtod()
1706 dval(&rv) = y; in _Py_dg_strtod()
1708 dval(&rv) = tens[k - 9] * dval(&rv) + z; in _Py_dg_strtod()
[all …]
Dgetargs.c792 double dval = PyFloat_AsDouble(arg); in convertsimple() local
796 *p = (float) dval; in convertsimple()
802 double dval = PyFloat_AsDouble(arg); in convertsimple() local
806 *p = dval; in convertsimple()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Ddtoa.c197 #define dval(x) (x)->d macro
994 return dval(&u); in ulp()
1031 return dval(&d); in b2d()
1167 dval(&da) = b2d(a, &ka); in ratio()
1168 dval(&db) = b2d(b, &kb); in ratio()
1176 return dval(&da) / dval(&db); in ratio()
1485 dval(rv) += sulp(rv, bc); in bigcomp()
1502 dval(&rv) = 0.; in _Py_dg_strtod()
1675 dval(&rv) = y; in _Py_dg_strtod()
1677 dval(&rv) = tens[k - 9] * dval(&rv) + z; in _Py_dg_strtod()
[all …]
Dgetargs.c792 double dval = PyFloat_AsDouble(arg); in convertsimple() local
796 *p = (float) dval; in convertsimple()
802 double dval = PyFloat_AsDouble(arg); in convertsimple() local
806 *p = dval; in convertsimple()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Doptparse.py864 dval = dict[attr]
865 if dval is not None:
866 setattr(self, attr, dval)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Doptparse.py865 dval = dict[attr]
866 if dval is not None:
867 setattr(self, attr, dval)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dlongobject.c188 PyLong_FromDouble(double dval) in PyLong_FromDouble() argument
194 if (Py_IS_INFINITY(dval)) { in PyLong_FromDouble()
199 if (Py_IS_NAN(dval)) { in PyLong_FromDouble()
204 if (dval < 0.0) { in PyLong_FromDouble()
206 dval = -dval; in PyLong_FromDouble()
208 frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */ in PyLong_FromDouble()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c188 PyLong_FromDouble(double dval) in PyLong_FromDouble() argument
194 if (Py_IS_INFINITY(dval)) { in PyLong_FromDouble()
199 if (Py_IS_NAN(dval)) { in PyLong_FromDouble()
204 if (dval < 0.0) { in PyLong_FromDouble()
206 dval = -dval; in PyLong_FromDouble()
208 frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */ in PyLong_FromDouble()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/
Dlongobject.c184 PyLong_FromDouble(double dval) in PyLong_FromDouble() argument
190 if (Py_IS_INFINITY(dval)) { in PyLong_FromDouble()
195 if (Py_IS_NAN(dval)) { in PyLong_FromDouble()
200 if (dval < 0.0) { in PyLong_FromDouble()
202 dval = -dval; in PyLong_FromDouble()
204 frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */ in PyLong_FromDouble()