←back to thread

67 points seg_fault | 1 comments | | HN request time: 0.343s | 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. codr7 ◴[] No.41908190[source]
Here is an example of the other end of the spectrum that I've used a couple of times: very simple fixpoints.

https://github.com/codr7/claes/blob/main/src/claes/f64.hpp