All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Private Types | List of all members
util::quantities::concepts::details::numeric_limits< Q > Class Template Reference

Limits of a quantity are the same as the underlying type. More...

#include <quantities.h>

Inheritance diagram for util::quantities::concepts::details::numeric_limits< Q >:
std::numeric_limits< util::quantities::concepts::Interval< Q, Cat > > std::numeric_limits< util::quantities::concepts::Interval< Q, Cat > const  > std::numeric_limits< util::quantities::concepts::Interval< Q, Cat > const volatile > std::numeric_limits< util::quantities::concepts::Quantity< Unit, T > const  > std::numeric_limits< util::quantities::concepts::Quantity< Unit, T > volatile >

Static Public Member Functions

static constexpr quantity_t min () noexcept
 
static constexpr quantity_t max () noexcept
 
static constexpr quantity_t lowest () noexcept
 
static constexpr quantity_t epsilon () noexcept
 
static constexpr quantity_t round_error () noexcept
 
static constexpr quantity_t infinity () noexcept
 
static constexpr quantity_t quiet_NaN () noexcept
 
static constexpr quantity_t signaling_NaN () noexcept
 
static constexpr quantity_t denorm_min () noexcept
 

Private Types

using quantity_t = Q
 
using value_traits_t = std::numeric_limits< typename quantity_t::value_t >
 

Detailed Description

template<typename Q>
class util::quantities::concepts::details::numeric_limits< Q >

Limits of a quantity are the same as the underlying type.

Definition at line 329 of file quantities.h.

Member Typedef Documentation

template<typename Q>
using util::quantities::concepts::details::numeric_limits< Q >::quantity_t = Q
private

Definition at line 1213 of file quantities.h.

template<typename Q>
using util::quantities::concepts::details::numeric_limits< Q >::value_traits_t = std::numeric_limits<typename quantity_t::value_t>
private

Definition at line 1214 of file quantities.h.

Member Function Documentation

template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::denorm_min ( )
inlinestaticnoexcept

Definition at line 1234 of file quantities.h.

1235  { return quantity_t{ value_traits_t::denorm_min() }; }
template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::epsilon ( )
inlinestaticnoexcept

Definition at line 1224 of file quantities.h.

1225  { return quantity_t{ value_traits_t::epsilon() }; }
template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::infinity ( )
inlinestaticnoexcept

Definition at line 1228 of file quantities.h.

1229  { return quantity_t{ value_traits_t::infinity() }; }
template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::lowest ( )
inlinestaticnoexcept

Definition at line 1222 of file quantities.h.

1223  { return quantity_t{ value_traits_t::lowest() }; }
template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::max ( )
inlinestaticnoexcept

Definition at line 1220 of file quantities.h.

1221  { return quantity_t{ value_traits_t::max() }; }
template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::min ( )
inlinestaticnoexcept

Definition at line 1218 of file quantities.h.

1219  { return quantity_t{ value_traits_t::min() }; }
template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::quiet_NaN ( )
inlinestaticnoexcept

Definition at line 1230 of file quantities.h.

1231  { return quantity_t{ value_traits_t::quiet_NaN() }; }
template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::round_error ( )
inlinestaticnoexcept

Definition at line 1226 of file quantities.h.

1227  { return quantity_t{ value_traits_t::round_error() }; }
template<typename Q>
static constexpr quantity_t util::quantities::concepts::details::numeric_limits< Q >::signaling_NaN ( )
inlinestaticnoexcept

Definition at line 1232 of file quantities.h.

1233  { return quantity_t{ value_traits_t::signaling_NaN() }; }

The documentation for this class was generated from the following file: