Skip to content

v1.0.3

Latest
Compare
Choose a tag to compare
@tomcombriat tomcombriat released this 08 Apr 19:50
· 1 commit to main since this release
7aaa4a6

This adds the wonderful possibility to construct UFix and SFix types from constant integers, with the size of the fixed point math type automatically determined by FixMath, thanks to @tfry-git !

For example:

auto a = UFixAuto<3>(); // leads to a UFix<2,0>
auto b = SFixAuto<15>(); // leads to a SFix<4,0>

What's Changed

  • Draft: better construction of UFix from compile time constants by @tfry-git in #12

Full Changelog: v1.0.2...v1.0.3