Skyward boardcore
Loading...
Searching...
No Matches
Numeric.h File Reference
#include <limits>
#include <type_traits>
Include dependency graph for Numeric.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Boardcore
 This file includes all the types the logdecoder script will decode.
 

Functions

template<class T >
constexpr auto Boardcore::add_sat (T x, T y) noexcept -> typename std::enable_if_t< std::is_integral< T >::value, T >
 Computes the saturating addition x + y for integral types.
 

Detailed Description

contains utility functions for numeric types, possibly from newer C++ standards.

Definition in file Numeric.h.