Lines Matching refs:cases
16 # Max number of base BASE digits to use in test cases. Doubling
180 # specific numbers chosen to exercise corner cases of the
183 # 30-bit cases involving a quotient digit estimate of BASE+1
192 # 30-bit cases that require the post-subtraction correction step
198 # 15-bit cases involving a quotient digit estimate of BASE+1
203 # 15-bit cases that require the post-subtraction correction step
599 cases = [0, 0.001, 0.99, 1.0, 1.5, 1e20, 1e200]
603 cases.extend([t - 1.0, t - 0.3, t, t + 0.3, t + 1.0,
605 cases.extend([0, 1, 2, sys.maxsize, float(sys.maxsize)])
609 cases.extend([0, 1, 2, 1 << 20000, t-1, t, t+1])
610 cases.extend([-x for x in cases])
611 for x in cases:
613 for y in cases:
870 # 1/2731 is one of the smallest division cases that's subject
1086 # corner cases
1591 # cases with a maximal amount of carries.