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
The int() rounds towards zero, but we want to find the largest power of two less than this max value. Therefore we should round to -inf and use math.floor.
Need to write some failing tests (perhaps compare with gfloat) and fix it.
The text was updated successfully, but these errors were encountered:
At the moment the autoscaling algorithm uses
log2 = int(math.log2(max_float_value))
The
int()
rounds towards zero, but we want to find the largest power of two less than this max value. Therefore we should round to -inf and usemath.floor
.Need to write some failing tests (perhaps compare with gfloat) and fix it.
The text was updated successfully, but these errors were encountered: