DPC++ Runtime
Runtime libraries for oneAPI DPC++
std::numeric_limits< sycl::half > Struct Reference

#include <sycl/half_type.hpp>

Collaboration diagram for std::numeric_limits< sycl::half >:

Static Public Member Functions

static __SYCL_CONSTEXPR_HALF const sycl::half() min () noexcept
 
static __SYCL_CONSTEXPR_HALF const sycl::half() max () noexcept
 
static __SYCL_CONSTEXPR_HALF const sycl::half lowest () noexcept
 
static __SYCL_CONSTEXPR_HALF const sycl::half epsilon () noexcept
 
static __SYCL_CONSTEXPR_HALF const sycl::half round_error () noexcept
 
static constexpr const sycl::half infinity () noexcept
 
static __SYCL_CONSTEXPR_HALF const sycl::half quiet_NaN () noexcept
 
static __SYCL_CONSTEXPR_HALF const sycl::half signaling_NaN () noexcept
 
static __SYCL_CONSTEXPR_HALF const sycl::half denorm_min () noexcept
 

Static Public Attributes

static constexpr bool is_specialized = true
 
static constexpr bool is_signed = true
 
static constexpr bool is_integer = false
 
static constexpr bool is_exact = false
 
static constexpr bool has_infinity = true
 
static constexpr bool has_quiet_NaN = true
 
static constexpr bool has_signaling_NaN = true
 
static constexpr float_denorm_style has_denorm = denorm_present
 
static constexpr bool has_denorm_loss = false
 
static constexpr bool tinyness_before = false
 
static constexpr bool traps = false
 
static constexpr int max_exponent10 = 4
 
static constexpr int max_exponent = 16
 
static constexpr int min_exponent10 = -4
 
static constexpr int min_exponent = -13
 
static constexpr int radix = 2
 
static constexpr int max_digits10 = 5
 
static constexpr int digits = 11
 
static constexpr bool is_bounded = true
 
static constexpr int digits10 = 3
 
static constexpr bool is_modulo = false
 
static constexpr bool is_iec559 = true
 
static constexpr float_round_style round_style = round_to_nearest
 

Detailed Description

Definition at line 589 of file half_type.hpp.

Member Function Documentation

◆ denorm_min()

static __SYCL_CONSTEXPR_HALF const sycl::half std::numeric_limits< sycl::half >::denorm_min ( )
inlinestaticnoexcept

Definition at line 653 of file half_type.hpp.

◆ epsilon()

static __SYCL_CONSTEXPR_HALF const sycl::half std::numeric_limits< sycl::half >::epsilon ( )
inlinestaticnoexcept

Definition at line 629 of file half_type.hpp.

◆ infinity()

static constexpr const sycl::half std::numeric_limits< sycl::half >::infinity ( )
inlinestaticconstexprnoexcept

Definition at line 637 of file half_type.hpp.

◆ lowest()

static __SYCL_CONSTEXPR_HALF const sycl::half std::numeric_limits< sycl::half >::lowest ( )
inlinestaticnoexcept

Definition at line 625 of file half_type.hpp.

◆ max()

static __SYCL_CONSTEXPR_HALF const sycl::half() std::numeric_limits< sycl::half >::max ( )
inlinestaticnoexcept

Definition at line 621 of file half_type.hpp.

◆ min()

static __SYCL_CONSTEXPR_HALF const sycl::half() std::numeric_limits< sycl::half >::min ( )
inlinestaticnoexcept

Definition at line 617 of file half_type.hpp.

◆ quiet_NaN()

static __SYCL_CONSTEXPR_HALF const sycl::half std::numeric_limits< sycl::half >::quiet_NaN ( )
inlinestaticnoexcept

Definition at line 645 of file half_type.hpp.

◆ round_error()

static __SYCL_CONSTEXPR_HALF const sycl::half std::numeric_limits< sycl::half >::round_error ( )
inlinestaticnoexcept

Definition at line 633 of file half_type.hpp.

◆ signaling_NaN()

static __SYCL_CONSTEXPR_HALF const sycl::half std::numeric_limits< sycl::half >::signaling_NaN ( )
inlinestaticnoexcept

Definition at line 649 of file half_type.hpp.

Member Data Documentation

◆ digits

constexpr int std::numeric_limits< sycl::half >::digits = 11
staticconstexpr

Definition at line 610 of file half_type.hpp.

◆ digits10

constexpr int std::numeric_limits< sycl::half >::digits10 = 3
staticconstexpr

Definition at line 612 of file half_type.hpp.

◆ has_denorm

constexpr float_denorm_style std::numeric_limits< sycl::half >::has_denorm = denorm_present
staticconstexpr

Definition at line 600 of file half_type.hpp.

◆ has_denorm_loss

constexpr bool std::numeric_limits< sycl::half >::has_denorm_loss = false
staticconstexpr

Definition at line 601 of file half_type.hpp.

◆ has_infinity

constexpr bool std::numeric_limits< sycl::half >::has_infinity = true
staticconstexpr

Definition at line 597 of file half_type.hpp.

◆ has_quiet_NaN

constexpr bool std::numeric_limits< sycl::half >::has_quiet_NaN = true
staticconstexpr

Definition at line 598 of file half_type.hpp.

◆ has_signaling_NaN

constexpr bool std::numeric_limits< sycl::half >::has_signaling_NaN = true
staticconstexpr

Definition at line 599 of file half_type.hpp.

◆ is_bounded

constexpr bool std::numeric_limits< sycl::half >::is_bounded = true
staticconstexpr

Definition at line 611 of file half_type.hpp.

◆ is_exact

constexpr bool std::numeric_limits< sycl::half >::is_exact = false
staticconstexpr

Definition at line 596 of file half_type.hpp.

◆ is_iec559

constexpr bool std::numeric_limits< sycl::half >::is_iec559 = true
staticconstexpr

Definition at line 614 of file half_type.hpp.

◆ is_integer

constexpr bool std::numeric_limits< sycl::half >::is_integer = false
staticconstexpr

Definition at line 595 of file half_type.hpp.

◆ is_modulo

constexpr bool std::numeric_limits< sycl::half >::is_modulo = false
staticconstexpr

Definition at line 613 of file half_type.hpp.

◆ is_signed

constexpr bool std::numeric_limits< sycl::half >::is_signed = true
staticconstexpr

Definition at line 594 of file half_type.hpp.

◆ is_specialized

constexpr bool std::numeric_limits< sycl::half >::is_specialized = true
staticconstexpr

Definition at line 593 of file half_type.hpp.

◆ max_digits10

constexpr int std::numeric_limits< sycl::half >::max_digits10 = 5
staticconstexpr

Definition at line 609 of file half_type.hpp.

◆ max_exponent

constexpr int std::numeric_limits< sycl::half >::max_exponent = 16
staticconstexpr

Definition at line 605 of file half_type.hpp.

◆ max_exponent10

constexpr int std::numeric_limits< sycl::half >::max_exponent10 = 4
staticconstexpr

Definition at line 604 of file half_type.hpp.

◆ min_exponent

constexpr int std::numeric_limits< sycl::half >::min_exponent = -13
staticconstexpr

Definition at line 607 of file half_type.hpp.

◆ min_exponent10

constexpr int std::numeric_limits< sycl::half >::min_exponent10 = -4
staticconstexpr

Definition at line 606 of file half_type.hpp.

◆ radix

constexpr int std::numeric_limits< sycl::half >::radix = 2
staticconstexpr

Definition at line 608 of file half_type.hpp.

◆ round_style

constexpr float_round_style std::numeric_limits< sycl::half >::round_style = round_to_nearest
staticconstexpr

Definition at line 615 of file half_type.hpp.

◆ tinyness_before

constexpr bool std::numeric_limits< sycl::half >::tinyness_before = false
staticconstexpr

Definition at line 602 of file half_type.hpp.

◆ traps

constexpr bool std::numeric_limits< sycl::half >::traps = false
staticconstexpr

Definition at line 603 of file half_type.hpp.


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