cnl
cnl copied to clipboard
A Compositional Numeric Library for C++
As CNL edges towards v2, it's worth asking whether it would be helpful to establish a CNL [organisation](https://git-scm.com/book/en/v2/GitHub-Managing-an-organization). Perhaps CNL 1 would stay in the current spot: github.com/johnmcfarlane/cnl (at least...
E.g.: ```c++ scaled_integer ``` This must wait for the release of Clang 12: [Clang/GCC](https://godbolt.org/z/r5jErv), [MSVC](https://msvc.godbolt.org/z/arEEqP).
I'm trying the latest version of cnl and get an extremely large binary when compiled with address sanitizer. Edit: I seem to be able to easily show a minimal example...
https://en.cppreference.com/w/cpp/header/experimental/simd
There needs to be a minimal amount of transitive noexcept decoration to ensure efficient push_back for dynamically allocated, static-sized rep types.
* support for precision as requested [here](https://github.com/johnmcfarlane/cnl/issues/340#issue-3898894200) * better rounding (ideally round-trip) ([current rounding isn't a sound solution](https://godbolt.org/z/1vr7TvMMh))
[This example](https://godbolt.org/z/AFvfMa) using `overflow_integer` should be equivalent to [this example](https://godbolt.org/z/zgs_db) which avoids using `overflow_integer` altogether. But the former fails to compile because a 64-digit integer is requested.
* mention https://github.com/microsoft/vcpkg/tree/master/ports/cnl in README * test.yml?
- FAQ - config control MACROS - types - free functions - tags - customisation points