native 0.0.1
Vectors, masks and wide register packs for C++26
Loading...
Searching...
No Matches
std::numeric_limits<::native::fp16 > Class Referenceexport

Static Public Member Functions

static constexpr ::native::fp16 min () noexcept
 Return the least positive normal value, 2^-14 (bits 0x0400).
static constexpr ::native::fp16 max () noexcept
 Return the greatest finite value, 65504 (bits 0x7bff).
static constexpr ::native::fp16 lowest () noexcept
 Return the most negative finite value, -65504 (bits 0xfbff).
static constexpr ::native::fp16 epsilon () noexcept
 Return the distance from one to its successor, 2^-10 (bits 0x1400).
static constexpr ::native::fp16 round_error () noexcept
 Return the round-to-nearest error bound, one half (bits 0x3800).
static constexpr ::native::fp16 infinity () noexcept
 Return positive infinity (bits 0x7c00).
static constexpr ::native::fp16 quiet_NaN () noexcept
 Return a quiet NaN with the fixed encoding 0x7fff.
static constexpr ::native::fp16 signaling_NaN () noexcept
 Return a signaling NaN encoding (bits 0x7dff); decoding to float quiets it.
static constexpr ::native::fp16 denorm_min () noexcept
 Return the least positive subnormal value, 2^-24 (bits 0x0001).

Static Public Attributes

static constexpr float_denorm_style has_denorm = denorm_present
static constexpr bool has_denorm_loss = false

Detailed Description

Representation limits for native::fp16; conversions preserve subnormal encodings. These constants describe the storage format, not the current floating-point controls.

Definition at line 214 of file native.numerics.ccm.

Member Data Documentation

◆ has_denorm

float_denorm_style std::numeric_limits<::native::fp16 >::has_denorm = denorm_present
staticconstexpr
Deprecated
std::float_denorm_style is deprecated since C++23

Definition at line 257 of file native.numerics.ccm.

◆ has_denorm_loss

bool std::numeric_limits<::native::fp16 >::has_denorm_loss = false
staticconstexpr
Deprecated
numeric_limits::has_denorm_loss is deprecated since C++23

Definition at line 259 of file native.numerics.ccm.


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