-
Fixes an infinity loop due to overflow. Also changed the round_up*() functions to return 0 on overflow and made 1 the next power of two after 0.
Fixes an infinity loop due to overflow. Also changed the round_up*() functions to return 0 on overflow and made 1 the next power of two after 0.