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

#include <CL/sycl/half_type.hpp>

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

Static Public Member Functions

static const __SYCL_CONSTEXPR_HALF cl::sycl::half() min () noexcept
 
static const __SYCL_CONSTEXPR_HALF cl::sycl::half() max () noexcept
 
static const __SYCL_CONSTEXPR_HALF cl::sycl::half lowest () noexcept
 
static const __SYCL_CONSTEXPR_HALF cl::sycl::half epsilon () noexcept
 
static const __SYCL_CONSTEXPR_HALF cl::sycl::half round_error () noexcept
 
static constexpr const cl::sycl::half infinity () noexcept
 
static const __SYCL_CONSTEXPR_HALF cl::sycl::half quiet_NaN () noexcept
 
static const __SYCL_CONSTEXPR_HALF cl::sycl::half signaling_NaN () noexcept
 
static const __SYCL_CONSTEXPR_HALF cl::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 625 of file half_type.hpp.

Member Function Documentation

◆ denorm_min()

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

Definition at line 690 of file half_type.hpp.

◆ epsilon()

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

Definition at line 665 of file half_type.hpp.

◆ infinity()

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

Definition at line 673 of file half_type.hpp.

◆ lowest()

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

Definition at line 661 of file half_type.hpp.

◆ max()

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

Definition at line 657 of file half_type.hpp.

◆ min()

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

Definition at line 653 of file half_type.hpp.

◆ quiet_NaN()

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

Definition at line 682 of file half_type.hpp.

◆ round_error()

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

Definition at line 669 of file half_type.hpp.

◆ signaling_NaN()

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

Definition at line 686 of file half_type.hpp.

Member Data Documentation

◆ digits

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

Definition at line 646 of file half_type.hpp.

◆ digits10

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

Definition at line 648 of file half_type.hpp.

◆ has_denorm

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

Definition at line 636 of file half_type.hpp.

◆ has_denorm_loss

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

Definition at line 637 of file half_type.hpp.

◆ has_infinity

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

Definition at line 633 of file half_type.hpp.

◆ has_quiet_NaN

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

Definition at line 634 of file half_type.hpp.

◆ has_signaling_NaN

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

Definition at line 635 of file half_type.hpp.

◆ is_bounded

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

Definition at line 647 of file half_type.hpp.

◆ is_exact

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

Definition at line 632 of file half_type.hpp.

◆ is_iec559

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

Definition at line 650 of file half_type.hpp.

◆ is_integer

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

Definition at line 631 of file half_type.hpp.

◆ is_modulo

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

Definition at line 649 of file half_type.hpp.

◆ is_signed

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

Definition at line 630 of file half_type.hpp.

◆ is_specialized

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

Definition at line 629 of file half_type.hpp.

◆ max_digits10

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

Definition at line 645 of file half_type.hpp.

◆ max_exponent

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

Definition at line 641 of file half_type.hpp.

◆ max_exponent10

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

Definition at line 640 of file half_type.hpp.

◆ min_exponent

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

Definition at line 643 of file half_type.hpp.

◆ min_exponent10

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

Definition at line 642 of file half_type.hpp.

◆ radix

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

Definition at line 644 of file half_type.hpp.

◆ round_style

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

Definition at line 651 of file half_type.hpp.

◆ tinyness_before

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

Definition at line 638 of file half_type.hpp.

◆ traps

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

Definition at line 639 of file half_type.hpp.


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