How could I check if a number is a perfect square? Speed is of n开发者_Python百科o concern, for now, just working.The problem with relying on any floating point computation (math.sqrt(x), or x**0.5)