Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Classes | Functions | Variables
AH::detail Namespace Reference

Classes

class  Incrementor
 Utility class that acts as a functor to return incremental values. More...
 

Functions

template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out<=Bits_in), T_outincreaseBitDepthImpl (T_in in)
 
template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out > 2 *Bits_in), T_outincreaseBitDepthImpl (T_in in)
 

Variables

constexpr long double pi_inv_l = 0.318309886183790671537767526745028724L
 
constexpr long double pi_l = 3.141592653589793238462643383279502884L
 
template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out<=2 *Bits_in) &&(Bits_out > Bits_in), T_out increaseBitDepthImpl )(T_in in)
 

Function Documentation

◆ increaseBitDepthImpl() [1/2]

template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out<=Bits_in), T_out > increaseBitDepthImpl ( T_in in)

Definition at line 20 of file IncreaseBitDepth.hpp.

◆ increaseBitDepthImpl() [2/2]

template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out > 2 *Bits_in), T_out > increaseBitDepthImpl ( T_in in)

Definition at line 27 of file IncreaseBitDepth.hpp.

Variable Documentation

◆ pi_inv_l

constexpr long double pi_inv_l = 0.318309886183790671537767526745028724L
constexpr

Definition at line 13 of file Degrees.hpp.

◆ pi_l

constexpr long double pi_l = 3.141592653589793238462643383279502884L
constexpr

Definition at line 14 of file Degrees.hpp.

◆ increaseBitDepthImpl

template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out > 2 *Bits_in), T_out increaseBitDepthImpl) (T_in in) ( T_in in)

Definition at line 13 of file IncreaseBitDepth.hpp.