ritsuko
Helper utilities for ArtifactDB C++ code
Loading...
Searching...
No Matches
ritsuko::FloatExtremes Struct Reference

Extremes for float types. More...

#include <find_extremes.hpp>

Public Attributes

bool has_nan = false
 
bool has_positive_inf = false
 
bool has_negative_inf = false
 
bool has_lowest = false
 
bool has_highest = false
 
bool has_zero = false
 

Detailed Description

Extremes for float types.

Member Data Documentation

◆ has_highest

bool ritsuko::FloatExtremes::has_highest = false

Whether the highest value of this type is present. This corresponds to std::numeric_limits<T>::max().

◆ has_lowest

bool ritsuko::FloatExtremes::has_lowest = false

Whether the lowest value of this type is present. This corresponds to std::numeric_limits<T>::lowest().

◆ has_nan

bool ritsuko::FloatExtremes::has_nan = false

Whether any NaN value is present (no distinction is made for different NaN payloads).

◆ has_negative_inf

bool ritsuko::FloatExtremes::has_negative_inf = false

Whether negative infinity is present.

◆ has_positive_inf

bool ritsuko::FloatExtremes::has_positive_inf = false

Whether positive infinity is present.

◆ has_zero

bool ritsuko::FloatExtremes::has_zero = false

Whether zero is present.


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