• Home
  • Raw
  • Download

Lines Matching refs:dval

192 #define dval(x) (x)->d  macro
941 return dval(&u); in ulp()
978 return dval(&d); in b2d()
1114 dval(&da) = b2d(a, &ka); in ratio()
1115 dval(&db) = b2d(b, &kb); in ratio()
1123 return dval(&da) / dval(&db); in ratio()
1403 dval(rv) += sulp(rv, bc); in bigcomp()
1422 return dval(&rv); in _Py_dg_stdnan()
1434 return sign ? -dval(&rv) : dval(&rv); in _Py_dg_infinity()
1452 dval(&rv) = 0.; in _Py_dg_strtod()
1638 dval(&rv) = y; in _Py_dg_strtod()
1640 dval(&rv) = tens[k - 9] * dval(&rv) + z; in _Py_dg_strtod()
1649 dval(&rv) *= tens[e]; in _Py_dg_strtod()
1658 dval(&rv) *= tens[i]; in _Py_dg_strtod()
1659 dval(&rv) *= tens[e]; in _Py_dg_strtod()
1664 dval(&rv) /= tens[-e]; in _Py_dg_strtod()
1676 dval(&rv) *= tens[i]; in _Py_dg_strtod()
1683 dval(&rv) *= bigtens[j]; in _Py_dg_strtod()
1686 dval(&rv) *= bigtens[j]; in _Py_dg_strtod()
1713 dval(&rv) /= tens[i]; in _Py_dg_strtod()
1721 dval(&rv) *= tinytens[j]; in _Py_dg_strtod()
1735 if (!dval(&rv)) in _Py_dg_strtod()
1942 dval(&rv) -= 0.5 * sulp(&rv, &bc); in _Py_dg_strtod()
2016 dval(&rv) += sulp(&rv, &bc); in _Py_dg_strtod()
2018 dval(&rv) -= sulp(&rv, &bc); in _Py_dg_strtod()
2019 if (!dval(&rv)) { in _Py_dg_strtod()
2062 dval(&rv0) = dval(&rv); in _Py_dg_strtod()
2065 dval(&rv) += adj.d; in _Py_dg_strtod()
2086 dval(&aadj2) = aadj1; in _Py_dg_strtod()
2088 aadj1 = dval(&aadj2); in _Py_dg_strtod()
2091 dval(&rv) += adj.d; in _Py_dg_strtod()
2124 dval(&rv) *= dval(&rv0); in _Py_dg_strtod()
2128 result = sign ? -dval(&rv) : dval(&rv); in _Py_dg_strtod()
2149 result = sign ? -dval(&rv) : dval(&rv); in _Py_dg_strtod()
2318 if (!dval(&u)) { in _Py_dg_dtoa()
2329 dval(&d2) = dval(&u); in _Py_dg_dtoa()
2364 dval(&d2) = x; in _Py_dg_dtoa()
2369 ds = (dval(&d2)-1.5)*0.289529654602168 + 0.1760912590558 + in _Py_dg_dtoa()
2376 if (dval(&u) < tens[k]) in _Py_dg_dtoa()
2446 dval(&d2) = dval(&u); in _Py_dg_dtoa()
2456 dval(&u) /= bigtens[n_bigtens-1]; in _Py_dg_dtoa()
2464 dval(&u) /= ds; in _Py_dg_dtoa()
2467 dval(&u) *= tens[j1 & 0xf]; in _Py_dg_dtoa()
2471 dval(&u) *= bigtens[i]; in _Py_dg_dtoa()
2474 if (k_check && dval(&u) < 1. && ilim > 0) { in _Py_dg_dtoa()
2479 dval(&u) *= 10.; in _Py_dg_dtoa()
2482 dval(&eps) = ieps*dval(&u) + 7.; in _Py_dg_dtoa()
2486 dval(&u) -= 5.; in _Py_dg_dtoa()
2487 if (dval(&u) > dval(&eps)) in _Py_dg_dtoa()
2489 if (dval(&u) < -dval(&eps)) in _Py_dg_dtoa()
2497 dval(&eps) = 0.5/tens[ilim-1] - dval(&eps); in _Py_dg_dtoa()
2499 L = (Long)dval(&u); in _Py_dg_dtoa()
2500 dval(&u) -= L; in _Py_dg_dtoa()
2502 if (dval(&u) < dval(&eps)) in _Py_dg_dtoa()
2504 if (1. - dval(&u) < dval(&eps)) in _Py_dg_dtoa()
2508 dval(&eps) *= 10.; in _Py_dg_dtoa()
2509 dval(&u) *= 10.; in _Py_dg_dtoa()
2514 dval(&eps) *= tens[ilim-1]; in _Py_dg_dtoa()
2515 for(i = 1;; i++, dval(&u) *= 10.) { in _Py_dg_dtoa()
2516 L = (Long)(dval(&u)); in _Py_dg_dtoa()
2517 if (!(dval(&u) -= L)) in _Py_dg_dtoa()
2521 if (dval(&u) > 0.5 + dval(&eps)) in _Py_dg_dtoa()
2523 else if (dval(&u) < 0.5 - dval(&eps)) { in _Py_dg_dtoa()
2534 dval(&u) = dval(&d2); in _Py_dg_dtoa()
2546 if (ilim < 0 || dval(&u) <= 5*ds) in _Py_dg_dtoa()
2550 for(i = 1;; i++, dval(&u) *= 10.) { in _Py_dg_dtoa()
2551 L = (Long)(dval(&u) / ds); in _Py_dg_dtoa()
2552 dval(&u) -= L*ds; in _Py_dg_dtoa()
2554 if (!dval(&u)) { in _Py_dg_dtoa()
2558 dval(&u) += dval(&u); in _Py_dg_dtoa()
2559 if (dval(&u) > ds || (dval(&u) == ds && L & 1)) { in _Py_dg_dtoa()