How could I check if a number is a perfect square?
Speed is of no concern, for now, just working.
Decide how long the number will be.
take a delta 0.000000000000.......000001
see if the (sqrt(x))^2 - x is greater / equal /smaller than delta and decide based on the delta error.
Check if a number is a perfect square