On Mon, 2016-03-28 at 10:53 -0700, Ian Romanick wrote: > On 03/24/2016 11:10 AM, Adam Jackson wrote: > > + print ' if (a == 0 || b == 0) return 0;' > Is this check actually necessary? Yes because ... > > + print ' if (a > INT_MAX / b) return -1;' ... you don't want to divide by zero. - ajax