Eigen::NumTraits< Eigen::bfloat16 > Struct Reference
+ Inheritance diagram for Eigen::NumTraits< Eigen::bfloat16 >:

Public Types

enum  {
  IsSigned ,
  IsInteger ,
  IsComplex ,
  RequireInitialization
}
 
- Public Types inherited from Eigen::GenericNumTraits< Eigen::bfloat16 >
enum  
 
typedef Eigen::bfloat16 Real
 

Static Public Member Functions

static EIGEN_CONSTEXPR Eigen::bfloat16 dummy_precision ()
 
static EIGEN_CONSTEXPR Eigen::bfloat16 epsilon ()
 
static EIGEN_CONSTEXPR Eigen::bfloat16 highest ()
 
static EIGEN_CONSTEXPR Eigen::bfloat16 infinity ()
 
static EIGEN_CONSTEXPR Eigen::bfloat16 lowest ()
 
static EIGEN_CONSTEXPR Eigen::bfloat16 quiet_NaN ()
 

Detailed Description

Definition at line 736 of file BFloat16.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IsSigned 
IsInteger 
IsComplex 
RequireInitialization 

Definition at line 739 of file BFloat16.h.

Member Function Documentation

◆ dummy_precision()

static EIGEN_CONSTEXPR Eigen::bfloat16 Eigen::NumTraits< Eigen::bfloat16 >::dummy_precision ( )
inlinestatic

Definition at line 749 of file BFloat16.h.

749  {
750  return bfloat16_impl::raw_uint16_to_bfloat16(0x3D4D); // bfloat16(5e-2f);
751  }
EIGEN_CONSTEXPR __bfloat16_raw raw_uint16_to_bfloat16(unsigned short value)

◆ epsilon()

static EIGEN_CONSTEXPR Eigen::bfloat16 Eigen::NumTraits< Eigen::bfloat16 >::epsilon ( )
inlinestatic

Definition at line 746 of file BFloat16.h.

746  {
748  }

◆ highest()

static EIGEN_CONSTEXPR Eigen::bfloat16 Eigen::NumTraits< Eigen::bfloat16 >::highest ( )
inlinestatic

Definition at line 752 of file BFloat16.h.

752  {
754  }

◆ infinity()

static EIGEN_CONSTEXPR Eigen::bfloat16 Eigen::NumTraits< Eigen::bfloat16 >::infinity ( )
inlinestatic

Definition at line 758 of file BFloat16.h.

758  {
760  }

◆ lowest()

Definition at line 755 of file BFloat16.h.

755  {
757  }

◆ quiet_NaN()

static EIGEN_CONSTEXPR Eigen::bfloat16 Eigen::NumTraits< Eigen::bfloat16 >::quiet_NaN ( )
inlinestatic

Definition at line 761 of file BFloat16.h.

761  {
763  }

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