cnl icon indicating copy to clipboard operation
cnl copied to clipboard

A Compositional Numeric Library for C++

Results 77 cnl issues
Sort by recently updated
recently updated
newest added

From [#447](https://github.com/johnmcfarlane/cnl/issues/447#issuecomment-504557617): https://godbolt.org/z/gre-SC

request

**What would you like to see in CNL?** Source files likely have many circular `#include`s which are not apparent because of header guards. Nevertheless, they are not nice. It's a...

request

**Describe the bug:** The test "static_number_saturation_min" fails. Saturation produces -32767. ```cpp namespace static_number_saturation_max { static constexpr auto n = cnl::static_number{1.0}; static constexpr auto n_rep = static_cast (to_rep(n)); static constexpr auto...

bug

**What is your question?** Is there a way of converting between datatypes with different overflow tags. **What are you trying to do?** One may need to change the overflow type...

question
request

Does it make sense to implement a "good-enough" trigonometric library as part of CNL, or do we as a community already know of good existing fixed-point trig lib that plays...

help wanted
request
2.0

Should not require that `rounding_integer` is included in order to use `set_rounding` and `rounding`.

Fix the [examples](https://johnmcfarlane.github.io/cnl/index.html#Examples). There is misinformation: "Named functions provide fine-tuned control over arithmetic results." The whole *message* is out of date.

documentation

Placeholder: eventually, it should be easy to implement a variant of scaled_integer with quais-exact division. This might replace `quotient`.

request
2.0