I tried to get sqrt value of a long int
from math import sqrt
print sqrt(410241186411534352)
<< 640500731.0
It returned 640500731.0, which indeed is 640500730.999999993... in precision. How to fix that?
I solved it according to @DSM and @Rob's reply, thank you so much.
from math import sqrt
from decimal import Decimal
print Decimal(410241186411534352).sqrt()