(x, bits)
| 81 | |
| 82 | |
| 83 | def uniform32_from_uint(x, bits): |
| 84 | if bits == 64: |
| 85 | return uniform32_from_uint64(x) |
| 86 | elif bits == 53: |
| 87 | return uniform32_from_uint53(x) |
| 88 | elif bits == 32: |
| 89 | return uniform32_from_uint32(x) |
| 90 | else: |
| 91 | raise NotImplementedError |
| 92 | |
| 93 | |
| 94 | def uniform_from_uint(x, bits): |
no test coverage detected
searching dependent graphs…