C++ lib for use of Fractions instead of float type