HikoGUI
A low latency retained GUI
|
#include <hikothird/au.hh>
Static Public Member Functions | |
static constexpr au::Quantity< U, R > | max () |
static constexpr au::Quantity< U, R > | lowest () |
static constexpr au::Quantity< U, R > | min () |
static constexpr au::Quantity< U, R > | epsilon () |
static constexpr au::Quantity< U, R > | round_error () |
static constexpr au::Quantity< U, R > | infinity () |
static constexpr au::Quantity< U, R > | quiet_NaN () |
static constexpr au::Quantity< U, R > | signaling_NaN () |
static constexpr au::Quantity< U, R > | denorm_min () |
Static Public Attributes | |
static constexpr bool | is_specialized = true |
static constexpr bool | is_integer = numeric_limits<R>::is_integer |
static constexpr bool | is_signed = numeric_limits<R>::is_signed |
static constexpr bool | is_exact = numeric_limits<R>::is_exact |
static constexpr bool | has_infinity = numeric_limits<R>::has_infinity |
static constexpr bool | has_quiet_NaN = numeric_limits<R>::has_quiet_NaN |
static constexpr bool | has_signaling_NaN = numeric_limits<R>::has_signaling_NaN |
static constexpr bool | has_denorm = numeric_limits<R>::has_denorm |
static constexpr bool | has_denorm_loss = numeric_limits<R>::has_denorm_loss |
static constexpr float_round_style | round_style = numeric_limits<R>::round_style |
static constexpr bool | is_iec559 = numeric_limits<R>::is_iec559 |
static constexpr bool | is_bounded = numeric_limits<R>::is_bounded |
static constexpr bool | is_modulo = numeric_limits<R>::is_modulo |
static constexpr int | digits = numeric_limits<R>::digits |
static constexpr int | digits10 = numeric_limits<R>::digits10 |
static constexpr int | max_digits10 = numeric_limits<R>::max_digits10 |
static constexpr int | radix = numeric_limits<R>::radix |
static constexpr int | min_exponent = numeric_limits<R>::min_exponent |
static constexpr int | min_exponent10 = numeric_limits<R>::min_exponent10 |
static constexpr int | max_exponent = numeric_limits<R>::max_exponent |
static constexpr int | max_exponent10 = numeric_limits<R>::max_exponent10 |
static constexpr bool | traps = numeric_limits<R>::traps |
static constexpr bool | tinyness_before = numeric_limits<R>::tinyness_before |
numeric_limits
specialization.
The default implementation default constructs the scalar, which would return the obviously-wrong value of 0 for max().
Per the standard, we are allowed to specialize this for our own types, and are also not required to define every possible field. This is nice because it means that we will get compile errors for unsupported operations (instead of having them silently fail, which is the default)