#include <vnl_numeric_traits.h>
Public Types | |
typedef unsigned char | abs_t |
Return value of abs(). | |
typedef short | double_t |
Name of a type twice as long as this one for accumulators and products. | |
typedef double | real_t |
Name of type which results from multiplying this type with a double. | |
Static Public Member Functions | |
static const char zero | VCL_STATIC_CONST_INIT_INT_DECL (0) |
Additive identity. | |
static const char one | VCL_STATIC_CONST_INIT_INT_DECL (1) |
Multiplicative identity. | |
static const char maxval | VCL_STATIC_CONST_INIT_INT_DECL (char(255)< 0?127:255) |
Maximum value which this type can assume. |
Definition at line 121 of file vnl_numeric_traits.h.
typedef unsigned char vnl_numeric_traits< char >::abs_t [inherited] |
Return value of abs().
Definition at line 112 of file vnl_numeric_traits.h.
typedef short vnl_numeric_traits< char >::double_t [inherited] |
Name of a type twice as long as this one for accumulators and products.
Definition at line 114 of file vnl_numeric_traits.h.
typedef double vnl_numeric_traits< char >::real_t [inherited] |
Name of type which results from multiplying this type with a double.
Definition at line 116 of file vnl_numeric_traits.h.
static const char zero vnl_numeric_traits< char >::VCL_STATIC_CONST_INIT_INT_DECL | ( | 0 | ) | [static, inherited] |
Additive identity.
static const char one vnl_numeric_traits< char >::VCL_STATIC_CONST_INIT_INT_DECL | ( | 1 | ) | [static, inherited] |
Multiplicative identity.
static const char maxval vnl_numeric_traits< char >::VCL_STATIC_CONST_INIT_INT_DECL | ( | ) | [static, inherited] |
Maximum value which this type can assume.
It is 127 (and not 255) since "char" is not guaranteed to be unsigned.