**New course!**Every coder should learn

**Generative AI!**

0

# How can I find the Machine epsilon with float64

I have a code for find the machine epsilon but i need use the same code with float64. Numpy? https://code.sololearn.com/clf91R5n2zLQ/?ref=app Tks!

1 Answer

0

Yes, you can use numpy for this. Just initiate the variables as np.float64 already:
import numpy as np
d = np.float64(0.5)
i = np.float64(0.0)