/fixmath

a 64bit fixed-point number

Primary LanguageC++Mozilla Public License 2.0MPL-2.0

fixmath

UnitTests

A fully templatized fixed point number library. With tweakable fraction precision QM.N, rounding behaviour, saturation mode and more.

Provide math function support for Q32.32 and Q16.16 type, and basic arithmetic operation for all types.

A experimental project, support C++20 only. (requires std::bitcast anc concepts)

Test case in progress, code not compiled, please use with caution.

License

Mozilla Public License 2.0