(x, bits)
| 70 | |
| 71 | |
| 72 | def uniform32_from_uint(x, bits): |
| 73 | if bits == 64: |
| 74 | return uniform32_from_uint64(x) |
| 75 | elif bits == 53: |
| 76 | return uniform32_from_uint53(x) |
| 77 | elif bits == 32: |
| 78 | return uniform32_from_uint32(x) |
| 79 | else: |
| 80 | raise NotImplementedError |
| 81 | |
| 82 | |
| 83 | def uniform_from_uint(x, bits): |
no test coverage detected