Work with arbitrary precision un Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Work with arbitrary precision un Python

Hi, I'm a physicist and I work a lot with the Numpy and SciPy libraries. I need to be able to work with numbers with arbitrary precision. For example, I would like to express the exponential function "exp (1/3)" with 100 digits but also introduce 1/3 with the same precision (100 digits). How can I do? Thank you!

5th Sep 2021, 4:13 AM
Nicolás
Nicolás - avatar
1 Answer
0
For that , you need to make your own division function though that is already there if you loop up the web .
5th Sep 2021, 5:05 AM
Hima
Hima - avatar