fixed_math
fixed_math copied to clipboard
FixedMath: A High-Performance C++23, C++17 Library for Fixed-Point 48.16 Arithmetic
**Describe the bug** There is an compilation error in example code on README.md. https://github.com/toge/fixed_math/tree/master?tab=readme-ov-file#example Error Message is following: ``` test_package.cpp:32:31: error: unable to find numeric literal operator ‘operator""_fix’ 32 |...
**Describe the bug** In examples, the include path is `fixedmath`. https://github.com/arturbac/fixed_math/blob/v2.0.0/examples/brief-usage.cc#L5-L6 But the include path is `fixed_math`. https://github.com/arturbac/fixed_math/blob/master/fixed_lib/CMakeLists.txt#L25-L30 Which is valid? I think `fixedmath` is valid because common.h includes ``....
The constant pi is well known. The constant phi is less well known, but typically refers to the golden ratio ((1+sqrt(5))/2). Or is used for an angle variable, especially with...