1 people like it.
Like the snippet!
An implementation of John D. Cook's algorithm for fastfinding perfect squares: http://www.johndcook.com/blog/2008/11/17/fastwaytotestwhetheranumberisasquare/
1: 2: 3: 4: 5: 6: 7: 8: 

Link:  http://fssnip.net/dn 
Posted:  5 years ago 
Author:  Kit Eason 
Tags:  math 