Lines Matching refs:emax
191 def close_to_one_greater(prec, emax, emin):
196 def close_to_one_less(prec, emax, emin):
202 def close_to_zero_greater(prec, emax, emin):
207 def close_to_zero_less(prec, emax, emin):
212 # Close to emax:
213 def close_to_emax_less(prec, emax, emin):
216 str(randrange(rprec)), "E", str(emax)))
218 def close_to_emax_greater(prec, emax, emin):
221 str(randrange(rprec)), "E", str(emax+1)))
224 def close_to_emin_greater(prec, emax, emin):
229 def close_to_emin_less(prec, emax, emin):
235 def close_to_etiny_greater(prec, emax, emin):
241 def close_to_etiny_less(prec, emax, emin):
269 def un_close_numbers(prec, emax, emin, itr=None):
274 yield func(prec, emax, emin)
276 def bin_close_numbers(prec, emax, emin, itr=None):
282 yield func1(prec, emax, emin), func2(prec, emax, emin)
284 yield randdec(prec, emax), func(prec, emax, emin)
285 yield func(prec, emax, emin), randdec(prec, emax)
287 def tern_close_numbers(prec, emax, emin, itr):
294 yield (func1(prec, emax, emin), func2(prec, emax, emin),
295 func3(prec, emax, emin))
297 yield (randdec(prec, emax), func(prec, emax, emin),
298 func(prec, emax, emin))
299 yield (func(prec, emax, emin), randdec(prec, emax),
300 func(prec, emax, emin))
301 yield (func(prec, emax, emin), func(prec, emax, emin),
302 randdec(prec, emax))
304 yield (randdec(prec, emax), randdec(prec, emax),
305 func(prec, emax, emin))
306 yield (randdec(prec, emax), func(prec, emax, emin),
307 randdec(prec, emax))
308 yield (func(prec, emax, emin), randdec(prec, emax),
309 randdec(prec, emax))
481 def bin_random_mixed_op(prec, emax, emin, itr=None):
486 yield randdec(prec, emax), func()
487 yield func(), randdec(prec, emax)
490 yield dec(prec, emax, emin), number()
496 def tern_random_mixed_op(prec, emax, emin, itr):
501 yield randdec(prec, emax), randdec(prec, emax), func()
502 yield randdec(prec, emax), func(), func()