test_package.cpp:32:31: error: unable to find numeric literal operator ‘operator""_fix’
32 | some_fixed = some_float * 2.45_fix; //operation with float is promoted to fixed_t
| ^~~~~~~~
It is lack of using fixedmath::operator ""_fix; or using namespace fixedmath;.
Not sure which is more appropriate for the fixed_math coding style.
Could you please fix it?
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:
It is lack of
using fixedmath::operator ""_fix;
orusing namespace fixedmath;
. Not sure which is more appropriate for the fixed_math coding style. Could you please fix it?Build info: