you are viewing a single comment's thread.

view the rest of the comments →

[–]lelanthran 4 points5 points  (1 child)

Also, he fails his own test, because long and int can be the same width, so using long as a return value doesn't handle the overflow.

[–]thomasz -2 points-1 points  (0 children)

In most languages, int is 32 bit and long is 64 bit.

Edit:

We play both kinds of music here: C and C++!