3 ms·
Using hardware floating point types is not suitable if mathematical correctness matters, and is largely a deprecated practice. Check out Python’s fraction modul
by rand_r 2y ago
Using hardware floating point types is not suitable if mathematical correctness matters, and is largely a deprecated practice. Check out Python’s fraction module for example, for exact arithmetic[0].
[0]: https://www.geeksforgeeks.org/fraction-module-python/ https://www.geeksforgeeks.org/fraction-module-python/