Closed cutezerocat closed 6 years ago
There is a potential overflow bug for div2_round function.
When parameter a of function div2_round (in vireo/imagecore/utils/mathutils.h) has the maximum value, the result is 0 which is incorrect.
All committers have signed the CLA.
@lukealonso this looks correct to me but please chime in as the primary owner for this piece of code.
@canbal @lukealonso done.
There is a potential overflow bug for div2_round function.
When parameter a of function div2_round (in vireo/imagecore/utils/mathutils.h) has the maximum value, the result is 0 which is incorrect.