Embedded Template Library 1.0
Loading...
Searching...
No Matches
gcd.h File Reference
#include "platform.h"
#include "type_traits.h"
#include "absolute.h"
#include "static_assert.h"

Go to the source code of this file.

Classes

struct  etl::gcd_const< Value1, Value2 >
struct  etl::gcd_const< Value1, 0 >

Namespaces

namespace  etl
 bitset_ext

Functions

template<typename T>
ETL_NODISCARD ETL_CONSTEXPR14 etl::enable_if< etl::is_unsigned< T >::value, T >::type etl::gcd (T a, T b) ETL_NOEXCEPT
template<typename T>
ETL_NODISCARD ETL_CONSTEXPR14 etl::enable_if< etl::is_signed< T >::value, T >::type etl::gcd (T a, T b) ETL_NOEXCEPT