Logo

Programming-Idioms

History of Idiom 86 > diff from v1 to v2

Edit summary for version 2 by :

Version 1

2015-09-09, 21:27:20

Version 2

2015-09-09, 21:27:37

Idiom #86 Check if integer multiplication will overflow

Write boolean function multiplyWillOverflow which takes two integers x, y and return true if (x*y) overflows.

Idiom #86 Check if integer multiplication will overflow

Write boolean function multiplyWillOverflow which takes two integers x, y and return true if (x*y) overflows.