-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3、4、5、6号帖之外的勘误,请提交到这里 #7
Comments
第2章,P8-9,“你可能会发现,如果第一个数比第二个数大,那么把两者进行交换以后在进行运算应该会更快一些(例如计算3x15,要比计算15x3更为容易)” |
@bianliangpai 您好,感谢您指出这个问题。 本来我应该在这里加上译者注的。我想,作者在这里指的可能不是普通的连加方式。如果按照普通的连加方式来算 15×3,那么自然应该直接展开,变成 15+15+15=45,这样只需要做两次加法,反之,3×15 若是直接展开成连加式,则是 3+3+...+3=45,要做 14 次加法。 作者这么说,可能采用的是早前 假如将两个数的位置对调,把比较小的 3 放在乘号左边,让它充当被乘数,那么第一次调用 |
@jeffreybaoshenlee 非常感谢您的解释,这下我理解了 |
请问,书中课后习题的参考答案可以从哪里获得? |
@Concretion ,您好。感谢您阅读本书并指出这个问题。 很抱歉,我当时并没有专门想过这个问题。今天去原书在 informit 网站的页面(https://www.informit.com/store/from-mathematics-to-generic-programming-9780321942043 )看了看,那里没有习题答案。另外,Amazon 的评论(https://www.amazon.com/gp/customer-reviews/R2E9T6LN7KX63P/ref=cm_cr_getr_d_rvw_ttl )也提到了这个问题。 后续如果有动态,我会贴在这个 issue(#8 )里面。 |
@jeffreybaoshenlee 非常感谢你的及时回复。 |
P19,“(也就是说,它是p的倍数)” |
P24,公式 3.2 ,等号右边第一项,是不是应该是 x^n+1 ? |
嗯,您说的对,这里应该把“它是 p 的倍数”改成“它是比 p 小的那个素数的倍数”。感谢您指出这个错误。 |
嗯,我刚才查了原书,这可能是扫描公式的时候出现了错误。感谢您指出这两个错误。 |
@bianliangpai 抱歉这么久才回复。最近没有看 github,今天刚上来看到。我已经把这三个错误整理到勘误表( #9 )里面了。多谢您指教~ |
@DoubleNinthLu 您好,最近我又找了找习题答案,发现了这个 Repo: https://github.com/bmershon/fm2gp ,请参考。 |
如题。
The text was updated successfully, but these errors were encountered: