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
Fix: modified bit_length function to deal with inputting zero
Previously, bit_length(big_int<1, T>{0}), where T is some unsigned
integral type, caused Undefined Behavior.
Now, bit_length can properly deal with such input.
Note that we define the bit_length of zero to be 1.