J*****n 发帖数: 48 | 1 double 类型 x,y
(y/x)/x 是不是比 y/(x*x) 更加好一些? | r****y 发帖数: 1437 | 2 not necessarily
The old rule is do everything in multiplication rather than division
An American intern once used this "rule" to change my code, then
she was crying loud...
【在 J*****n 的大作中提到】 : double 类型 x,y : (y/x)/x 是不是比 y/(x*x) 更加好一些?
| C********n 发帖数: 6682 | 3 不好说
两个的结果可能不一致
division
【在 r****y 的大作中提到】 : not necessarily : The old rule is do everything in multiplication rather than division : An American intern once used this "rule" to change my code, then : she was crying loud...
|
|