joyent/node — pull request #3607 by bnoordhuis (2012-07-01 21:04:35+00:00)
Title: timers: fix handling of large timeouts

Don't use the double-negate trick to coalesce the timeout argument into a
number, it produces the wrong result for very large timeouts.

Example:

setTimeout(cb, 1e10); // doesn't work, ~~1e10 == 1410065408