1 people like it.
Like the snippet!
An implementation of John D. Cook's algorithm for fast-finding perfect squares: http://www.johndcook.com/blog/2008/11/17/fast-way-to-test-whether-a-number-is-a-square/
1: 2: 3: 4: 5: 6: 7: 8: |
|
Link: | http://fssnip.net/dn |
Posted: | 12 years ago |
Author: | Kit Eason |
Tags: | math |