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

Go to the source code of this file.

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