4#ifndef TETL_RATIO_SUBTRACT_HPP
5#define TETL_RATIO_SUBTRACT_HPP
7#include <etl/_ratio/ratio.hpp>
15template <
typename R1,
typename R2>
16using ratio_subtract =
ratio<(R1::num * R2::den) - (R2::num * R1::den), R1::den * R2::den>;
Definition adjacent_find.hpp:9
The typename template provides compile-time rational arithmetic support. Each instantiation of this t...
Definition ratio.hpp:22