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_DEVICE T epsilon () noexcept
 
static constexpr STDGPU_HOST_DEVICE T infinity () noexcept
 
static constexpr STDGPU_HOST_DEVICE T lowest () noexcept
 
static constexpr STDGPU_HOST_DEVICE T max () noexcept
 
static constexpr STDGPU_HOST_DEVICE T min () noexcept
 
static constexpr STDGPU_HOST_DEVICE T round_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