HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by rand_r

Comment by rand_r 10 months ago

0 replies

View on Hacker News

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/