(width, binwidth)
| 2061 | |
| 2062 | """ |
| 2063 | def err_if_insufficient(width, binwidth): |
| 2064 | if width is not None and width < binwidth: |
| 2065 | raise ValueError( |
| 2066 | f"Insufficient bit {width=} provided for {binwidth=}" |
| 2067 | ) |
| 2068 | |
| 2069 | # Ensure that num is a Python integer to avoid overflow or unwanted |
| 2070 | # casts to floating point. |
no outgoing calls
no test coverage detected
searching dependent graphs…