Lines Matching refs:got
42 float ulperrf(float got, float want, float dwant) in ulperrf() argument
44 if (isnan(got) && isnan(want)) in ulperrf()
46 if (got == want) { in ulperrf()
47 if (signbit(got) == signbit(want)) in ulperrf()
51 if (isinf(got)) { in ulperrf()
52 got = copysignf(0x1p127, got); in ulperrf()
55 return scalbn(got - want, -eulpf(want)) + dwant; in ulperrf()
58 float ulperr(double got, double want, float dwant) in ulperr() argument
60 if (isnan(got) && isnan(want)) in ulperr()
62 if (got == want) { in ulperr()
63 if (signbit(got) == signbit(want)) in ulperr()
67 if (isinf(got)) { in ulperr()
68 got = copysign(0x1p1023, got); in ulperr()
71 return scalbn(got - want, -eulp(want)) + dwant; in ulperr()
74 float ulperrl(long double got, long double want, float dwant) in ulperrl() argument
77 return ulperr(got, want, dwant); in ulperrl()
79 if (isnan(got) && isnan(want)) in ulperrl()
81 if (got == want) { in ulperrl()
82 if (signbit(got) == signbit(want)) in ulperrl()
86 if (isinf(got)) { in ulperrl()
87 got = copysignl(0x1p16383L, got); in ulperrl()
90 return scalbnl(got - want, -eulpl(want)) + dwant; in ulperrl()