You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
csr.bus: replace ceil(log2(n)) with log2_int(n, need_pow2=False).
The former does int->float->int conversions, which gives incorrect
results because Python uses 64-bit values to represent floats (e.g.
`ceil(log2((1 << 64) + 1))` would return 64).
0 commit comments