Skip to content

Namespace std

Namespace List > std

Overloads for standard library functions to support fixed-point types.

Public Functions

Type Name
constexpr FixedType max (const FixedType & a, const NonFixedType & b)
Overload of std::max for fixed-point and non-fixed-point types.
constexpr FixedType min (const FixedType & a, const NonFixedType & b)
Overload of std::min for fixed-point and non-fixed-point types.
constexpr T pow (const T & A, const O & B)
Overload of std::pow for theFixedAdapter type.

Public Functions Documentation

function max

Overload of std::max for fixed-point and non-fixed-point types.

template<typename FixedType, typename NonFixedType>
constexpr FixedType std::max (
    const FixedType & a,
    const NonFixedType & b
) 

function min

Overload of std::min for fixed-point and non-fixed-point types.

template<typename FixedType, typename NonFixedType>
constexpr FixedType std::min (
    const FixedType & a,
    const NonFixedType & b
) 

function pow

Overload of std::pow for theFixedAdapter type.

template<typename T, typename O>
constexpr T std::pow (
    const T & A,
    const O & B
) 


The documentation for this class was generated from the following file fpm_adapter.hpp