Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 680 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 680 Bytes

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