Y
Hacker News
new
|
ask
|
show
|
jobs
by
rand_r
640 days 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/