numeric_limits< T >

numeric_limits< T >#

stdgpu: stdgpu::numeric_limits< T >
stdgpu Latest
Efficient STL-like Data Structures on the GPU

Detailed Description

template<class T>
struct stdgpu::numeric_limits< T >

Generic traits.

Template Parameters
TThe type for which limits should be specified

Static Public Member Functions

static constexpr STDGPU_HOST_DEVICEepsilon () noexcept
 
static constexpr STDGPU_HOST_DEVICEinfinity () noexcept
 
static constexpr STDGPU_HOST_DEVICElowest () noexcept
 
static constexpr STDGPU_HOST_DEVICEmax () noexcept
 
static constexpr STDGPU_HOST_DEVICEmin () noexcept
 
static constexpr STDGPU_HOST_DEVICEround_error () noexcept
 

Static Public Attributes

static constexpr int digits
 
static constexpr bool is_exact
 
static constexpr bool is_integer
 
static constexpr bool is_signed
 
static constexpr bool is_specialized
 
static constexpr int radix