#pragma once namespace efi { template class ratio { private: static constexpr int num = TNum; static constexpr int den = TDenom; public: // A ratio type representing the reciprocal of this type. using recip = ratio; static float asFloat() { return (float)num / den; } }; } // namespace efi