FixPointCS
FixPointCS copied to clipboard
A fast, multi-language, multi-precision fixed-point library!
I have a use case where the compiled code cannot contain asserts or function pointer invocations for invalid arguments. For that I added support for #define DISABLE_RUNTIME_VALIDATION. When that's used,...
Hi. I'm studying fixed point arithmetic and this FixPointCS is excellent material. My question is, what is `RcpPolyXX` approximate? `1/x` or `1/(x + 1)`? In `Div()` method, it used with...
Would it be a bad idea to define `C++` methods as `constexpr`? This would facilitate defining non trivial `constexpr` values in applications. I'd appreciate any thoughts. Thank you!
Add two benchmarks that are run via dotnet core and BenchmarkDotNet
I translated FixPointCS into golang version. [https://github.com/camry/fp](https://github.com/camry/fp) I hope to add it to your README.md
 The order of a and b is wrong. Correct order: Mul(a, One - t) + Mul(b, t);