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

Go to the source code of this file.

Namespaces

namespace  etl
 

Typedefs

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