FixPointCS icon indicating copy to clipboard operation
FixPointCS copied to clipboard

A fast, multi-language, multi-precision fixed-point library!

Results 6 FixPointCS issues
Sort by recently updated
recently updated
newest added

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

![image](https://github.com/user-attachments/assets/b59645c5-0843-4d0f-9e5c-69ee90c5266c) The order of a and b is wrong. Correct order: Mul(a, One - t) + Mul(b, t);