37 #ifndef PCL_DEVICE_NUMERIC_LIMITS_HPP_ 38 #define PCL_DEVICE_NUMERIC_LIMITS_HPP_ 44 template<
class T>
struct numeric_limits
47 __device__ __forceinline__
static type min() {
return type(); };
48 __device__ __forceinline__
static type max() {
return type(); };
61 __device__ __forceinline__
static type min() {
return false; };
62 __device__ __forceinline__
static type max() {
return true; };
75 __device__ __forceinline__
static type min() {
return CHAR_MIN; };
76 __device__ __forceinline__
static type max() {
return CHAR_MAX; };
89 __device__ __forceinline__
static type min() {
return CHAR_MIN; };
90 __device__ __forceinline__
static type max() {
return CHAR_MAX; };
97 static const bool is_signed = (
signed char)-1 == -1;
103 __device__ __forceinline__
static type min() {
return 0; };
104 __device__ __forceinline__
static type max() {
return UCHAR_MAX; };
117 __device__ __forceinline__
static type min() {
return SHRT_MIN; };
118 __device__ __forceinline__
static type max() {
return SHRT_MAX; };
131 __device__ __forceinline__
static type min() {
return 0; };
132 __device__ __forceinline__
static type max() {
return USHRT_MAX; };
145 __device__ __forceinline__
static type min() {
return INT_MIN; };
146 __device__ __forceinline__
static type max() {
return INT_MAX; };
160 __device__ __forceinline__
static type min() {
return 0; };
161 __device__ __forceinline__
static type max() {
return UINT_MAX; };
174 __device__ __forceinline__
static type min() {
return LONG_MIN; };
175 __device__ __forceinline__
static type max() {
return LONG_MAX; };
188 __device__ __forceinline__
static type min() {
return 0; };
189 __device__ __forceinline__
static type max() {
return ULONG_MAX; };
202 __device__ __forceinline__
static type min() {
return 1.175494351e-38f; };
203 __device__ __forceinline__
static type max() {
return 3.402823466e+38f; };
204 __device__ __forceinline__
static type epsilon() {
return 1.192092896e-07f; };
207 __device__ __forceinline__
static type infinity() {
return __int_as_float(0x7f800000); };
208 __device__ __forceinline__
static type quiet_NaN() {
return __int_as_float(0x7fffffff); };
216 __device__ __forceinline__
static type min() {
return 2.2250738585072014e-308; };
217 __device__ __forceinline__
static type max() {
return 1.7976931348623158e+308; };
218 __device__ __forceinline__
static type epsilon() {
return 2.2204460492503131e-016 ; };
__device__ static __forceinline__ type epsilon()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type round_error()
static const bool is_signed
This file defines compatibility wrappers for low level I/O functions.
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type epsilon()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type epsilon()
__device__ static __forceinline__ type infinity()
__device__ static __forceinline__ type signaling_NaN()
__device__ static __forceinline__ type quiet_NaN()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type infinity()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type quiet_NaN()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type max()
__device__ static __forceinline__ type min()
__device__ static __forceinline__ type denorm_min()
__device__ static __forceinline__ type max()