SafeInt moved to github
Has it really been 7 years since I last posted? Yikes - wonder if anyone will see this.
The main news is that CodePlex is kaput, and while SafeInt is archived, the archive unhelpfully stripped off the file names. So it has been moved to GitHub, which is much better. All of the history from CodePlex has been preserved, and while I was at it, I checked to be sure that it still compiles properly on gcc, clang and latest couple of Visual Studio versions.
Then I enhanced the test suite, made make files for gcc and clang, and prodded by Dan Jump, added constexpr support. This resulted in several changes, none that would matter at runtime. There was also a corner case bug in the routine that deals with initializing a SafeInt from floating point, and that is now fixed.
I'm even batting around the idea of submitting it to Boost.
Oh, and a link to GitHub would be a good idea, d'oh - https://github.com/dcleblanc/SafeInt
Comments
- Anonymous
March 22, 2018
Glad to see this getting some attention, but there's some competition out there now...http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0228r0.pdf (and a lot of references in there to similar utilities). This paper is based off of boost incubator work.http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0828r0.md (also contains fixed point math).- Anonymous
March 22, 2018
The comment has been removed
- Anonymous
- Anonymous
March 22, 2018
FYI, the Github repository is https://github.com/dcleblanc/SafeInt.- Anonymous
March 22, 2018
Thanks! Whups, should have added that, need to go edit the post
- Anonymous