title | date | draft | tags | categories | |||
---|---|---|---|---|---|---|---|
算法4 Java解答 1.2.17 |
2019-02-22 07:35:22 +0800 |
false |
|
|
Robust implementation of rational numbers. Use assertions to develop an im- plementation of Rational (see Exercise 1.2.16) that is immune to overflow. 1.2.18
java8 Math.addExact中有代码判断溢出参考。