tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
ratio_subtract.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Typedefs

template<typename R1, typename R2>
using ratio_subtract = ratio<R1::num * R2::den - R2::num * R1::den, R1::den * R2::den>
 The alias template ratio_subtract denotes the result of subtracting two exact rational fractions represented by the ratio specializations R1 and R2.