Lines Matching defs:check
49 # check that relative difference < eps
68 # both zero; check that signs match
81 """Compute complex z=x*y, and check that z/x==y and z/y==x."""
167 def check(n, deltas, is_equal, imag = 0.0):
179 check(2 ** pow, range(1, 101), lambda delta: delta % mult == 0)
180 check(2 ** pow, range(1, 101), lambda delta: False, float(i))
181 check(2 ** 53, range(-100, 0), lambda delta: True)
370 # check that the sign of a zero in the real or imaginary part
429 # check that complex accepts long unicode strings
431 # check whitespace processing
533 # check underscores
547 x /= 3.0 # now check against floating point