x = np.linspace(-1,1,10)
for k in x:
print (Fraction(k).denominator)
I 'm trying to get the denominator for this values in this range, but I get this instead
1
9007199254740992
4503599627370496
9007199254740992
2251799813685248
2251799813685248
4503599627370496
562949953421312
1125899906842624
1