←back to thread

79 points seg_fault | 2 comments | | HN request time: 0.664s | source

Since there is so much interest on HN in floats lately and their software implementations, I wanted to show mine. It has no use and is just for teaching me floats and C++. Give me your thoughts.
1. nly ◴[] No.41909728[source]
How does this compare to Boost.Multiprecision, which works well with Boost.Math?

https://www.boost.org/doc/libs/1_86_0/libs/multiprecision/do...

https://www.boost.org/doc/libs/1_86_0/libs/multiprecision/do...

replies(1): >>41916931 #
2. seg_fault ◴[] No.41916931[source]
My type is a bit simpler. But I think the approach is the same. After all, boost's type has much more math functions implemented. I don't have exp, sqrt...