Skip to content
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

1.28的题解有问题 #45

Open
jiakai0419 opened this issue Sep 25, 2016 · 0 comments
Open

1.28的题解有问题 #45

jiakai0419 opened this issue Sep 25, 2016 · 0 comments

Comments

@jiakai0419
Copy link

非平凡平方根的检测是针对每次要square的那个值,而不是一直是a。

可参考下面的实现:
https://github.com/ajkitson/sicp/blob/master/ch1/1.28.scm
https://github.com/kenspirit/SICP/blob/master/c-1/1.28-miller-rabin-test.md
http://community.schemewiki.org/?sicp-ex-1.28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant