Arduino Filters master
Filter library for Arduino
Functions
MinMaxFix.hpp File Reference
#include <AH/Settings/Warnings.hpp>
#include <AH/Math/FixArduinoMacros.hpp>
#include <AH/Settings/NamespaceSettings.hpp>
+ Include dependency graph for MinMaxFix.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T , class U >
constexpr auto min (const T &a, const U &b) -> decltype(b< a ? b :a)
 Return the smaller of two numbers/objects. More...
 
template<class T , class U >
constexpr auto max (const T &a, const U &b) -> decltype(a< b ? b :a)
 Return the larger of two numbers/objects. More...