Lines Matching defs:ulp
934 ulp(U *x)
998 2**e gives ulp(d/2**scale).
1229 /* sulp(x) is a version of ulp(x) that takes bc.scale into account.
1233 sulp(x) is equivalent to 2^bc.scale * ulp(x / 2^bc.scale). */
1248 return ulp(x);
1258 double value rv such that either rv or rv + 1ulp represents the
1261 computing the decimal digits of rv + 0.5ulp and comparing them with
1316 this gives us b * 2**p2 = rv/2^(bc->scale) + 0.5 ulp. */
1805 bd, bb and bs proportional to tdv, srv and 0.5 ulp(srv)
1807 |tdv - srv| is less than, equal to, or greater than 0.5 ulp(srv).
1850 0.5 ulp(srv) == 2**(bbe-1) = bs * 2**(bbe - bb2 + bs2)
1856 M * 0.5 ulp(srv) = bs * 2**bs2 * 5**bb5
1910 /* Now bd, bb and bs are scaled versions of tdv, srv and 0.5 ulp(srv),
1912 with 0.5 ulp(srv). */
1926 0.5 ulp(rv). Hence rv either overestimates the true decimal
1927 value by <= 0.5 ulp(rv), or underestimates it by some small
1928 amount (< 0.1 ulp(rv)); either way, rv is within 0.5 ulps of
1932 DBL_MIN, then rv - 0.5 ulp(rv) takes us all the way down to the
1934 ulp(rv) or rv; in this case, use bigcomp to distinguish. */
1955 /* Error is less than half an ulp -- check for
2065 adj.d = aadj1 * ulp(&rv);
2091 adj.d = aadj1 * ulp(&rv);