Closed advancedxy closed 9 years ago
see http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html for details.
你的这个改动很好,不过本书的代码,更加注重可读性。
如果连简单的 x+y 都要考虑溢出,那代码会变得非常难懂
我重新grep了一把,发现以前的确有很多防止溢出的写法,那这个也采纳吧,非常感谢!
see http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html for details.