tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
ratio_add.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_RATIO_ADD_HPP
4#define TETL_RATIO_ADD_HPP
5
7
8namespace etl {
9
14template <typename R1, typename R2>
16
17} // namespace etl
18
19#endif // TETL_RATIO_ADD_HPP
ratio< R1::num *R2::den+R2::num *R1::den, R1::den *R2::den > ratio_add
The alias template ratio_add denotes the result of adding two exact rational fractions represented by...
Definition ratio_add.hpp:15
Definition adjacent_find.hpp:8
The typename template provides compile-time rational arithmetic support. Each instantiation of this t...
Definition ratio.hpp:21