Lines Matching refs:hi
109 a.hi = edgeCases[i].xhi; in testEdgeCases()
111 b.hi = edgeCases[i].yhi; in testEdgeCases()
113 r.hi = edgeCases[i].rhi; in testEdgeCases()
120 if (r.hi != r.hi) { in testEdgeCases()
121 if (c.hi == c.hi) in testEdgeCases()
129 else if (r.hi == 0.0) in testEdgeCases()
133 error = ((c.hi != r.hi) || (c.lo != r.lo)); in testEdgeCases()
136 …ror on edge case %a x %a: expected (%a, %a), got (%a, %a).\n", a.hi, b.hi, r.hi, r.lo, c.hi, c.lo); in testEdgeCases()
739 a.hi = accuracyTests[i].xhi; in testAccuracy()
741 b.hi = accuracyTests[i].yhi; in testAccuracy()
743 r.hi = accuracyTests[i].rhi; in testAccuracy()
748 double error = __builtin_fabs(((r.hi - c.hi) + r.lo) - c.lo); in testAccuracy()
752 int exponent = ilogb(r.hi); in testAccuracy()
758 printf("New worst rounding error for (%a,%a) x (%a,%a):\n", a.hi, a.lo, b.hi, b.lo); in testAccuracy()
759 printf("\tExpected: (%a,%a)\n", r.hi, r.lo); in testAccuracy()
760 printf("\tComputed: (%a,%a)\n", c.hi, c.lo); in testAccuracy()