()
| 443 | return ndigits(p) * (1,-1)[randrange(2)] |
| 444 | |
| 445 | def randfloat(): |
| 446 | p = randrange(1, 100) |
| 447 | s = numeric_value(p, 383) |
| 448 | try: |
| 449 | f = float(numeric_value(p, 383)) |
| 450 | except ValueError: |
| 451 | f = 0.0 |
| 452 | return f |
| 453 | |
| 454 | def randcomplex(): |
| 455 | real = randfloat() |
searching dependent graphs…