SI
2.5.4
A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units.
|
calculate gcd for rations More...
#include <detail.h>
Public Types | |
using | ratio = std::ratio< gcd_num::value,(_ratio_lhs::den/gcd_den::value) *_ratio_rhs::den > |
calculate gcd for rations
using SI::detail::ratio_gcd< _ratio_lhs, _ratio_rhs >::ratio = std::ratio<gcd_num::value, (_ratio_lhs::den / gcd_den::value) * _ratio_rhs::den> |