cnl
cnl copied to clipboard
A Compositional Numeric Library for C++
Failing test can be found in #320.
I.e. assert that int > INT_MIN
static constexpr auto a = cnl::elastic_number{0.3125}; static constexpr auto b = cnl::convert{}(a); static_assert(identical(cnl::elastic_number{0.5}, b),"Free rounding test1"); //Works static constexpr auto c = cnl::convert{}(a); static_assert(identical(cnl::elastic_number{0.25}, c),"Free rounding test2"); //Fails gives 0.75...
**Describe the bug:** A clear and concise description of what the bug is including: this is the current godbolt link in the readme https://godbolt.org/z/vzdvYzeqW and it fails to compile this...
The last version in issue 991 still have some bugs, I try to re-fix it here.
Hi, When trying to build and install CNL v1.1.2 I ran through the following error: ``` [ 95%] Building CXX object test/unit/CMakeFiles/test-unit-presentations-cppcon2017.dir/presentations/cppcon2017.cpp.o /home/falco/repos/cnl-1.1.2/test/unit/presentations/cppcon2017.cpp:24:13: error: redefinition of ‘struct std::hash’ 24 |...