template <typename T>

struct SaturationDefaultLimits

Defined at line 120 of file ../../zircon/third_party/ulib/safemath/include/safemath/safe_conversions.h

Default boundaries for integral/float: max/infinity, lowest/-infinity, 0/NaN.

You may provide your own limits (e.g. to saturated_cast) so long as you

implement all of the static constexpr member functions in the class below.

Public Methods

T NaN ()

Defined at line 121 of file ../../zircon/third_party/ulib/safemath/include/safemath/safe_conversions.h

T Overflow ()

Defined at line 127 of file ../../zircon/third_party/ulib/safemath/include/safemath/safe_conversions.h

T Underflow ()

Defined at line 133 of file ../../zircon/third_party/ulib/safemath/include/safemath/safe_conversions.h