xo-ratio documentation
xo-ratio is a lightweight header-only library that provides a constexpr fixed-size no-allocation ratio implementation.
Why ratio?
ratioinstances can be used as template arguments. [1]ratiooperations (arithmetic, integer powers, string conversion, …) areconstexpr, so can be done at compile time. [2]a
ratioexpression can occupy both compile-time and runtime roles. [3]
xo-ratio contents: