Searched refs:from_triple (Results 1 – 1 of 1) sorted by relevance
/external/python/cpython3/Modules/_decimal/tests/ |
D | randdec.py | 146 def from_triple(sign, coeff, exp): function 161 yield from_triple(1, coeff, randrange(2*maxexp)) 162 yield from_triple(-1, coeff, randrange(2*maxexp)) 180 yield from_triple(1, coeff, randrange(2*maxexp)), 1 181 yield from_triple(-1, coeff, randrange(2*maxexp)), -1 182 yield 1, from_triple(1, coeff, -randrange(2*maxexp)) 183 yield -1, from_triple(-1, coeff, -randrange(2*maxexp)) 319 yield from_triple(1, ndigits(m), 0) 320 yield from_triple(-1, ndigits(m), 0) 321 yield from_triple(1, ndigits(m), randrange(maxexp)) [all …]
|