Public Types | Static Public Attributes | List of all members
vnl_numeric_traits< long const > Class Template Reference

#include <vnl_numeric_traits.h>

Inheritance diagram for vnl_numeric_traits< long const >:
Inheritance graph
[legend]

Public Types

typedef unsigned long abs_t
 Return value of abs(). More...
 
typedef vxl_sint_64 double_t
 Name of a type twice as long as this one for accumulators and products. More...
 
typedef double real_t
 Name of type which results from multiplying this type with a double. More...
 

Static Public Attributes

static constexpr long zero = 0
 Additive identity. More...
 
static constexpr long one = 1
 Multiplicative identity. More...
 
static constexpr long maxval = sizeof(long)==8?(vxl_uint_64)(-1)/2:0x7fffffffL
 Maximum value which this type can assume. More...
 

Detailed Description

template<>
class vnl_numeric_traits< long const >

Definition at line 266 of file vnl_numeric_traits.h.

Member Typedef Documentation

◆ abs_t

typedef unsigned long vnl_numeric_traits< long >::abs_t
inherited

Return value of abs().

Definition at line 258 of file vnl_numeric_traits.h.

◆ double_t

typedef vxl_sint_64 vnl_numeric_traits< long >::double_t
inherited

Name of a type twice as long as this one for accumulators and products.

Definition at line 260 of file vnl_numeric_traits.h.

◆ real_t

typedef double vnl_numeric_traits< long >::real_t
inherited

Name of type which results from multiplying this type with a double.

Definition at line 262 of file vnl_numeric_traits.h.

Member Data Documentation

◆ maxval

constexpr long vnl_numeric_traits< long >::maxval = sizeof(long)==8?(vxl_uint_64)(-1)/2:0x7fffffffL
staticinherited

Maximum value which this type can assume.

Definition at line 256 of file vnl_numeric_traits.h.

◆ one

constexpr long vnl_numeric_traits< long >::one = 1
staticinherited

Multiplicative identity.

Definition at line 254 of file vnl_numeric_traits.h.

◆ zero

constexpr long vnl_numeric_traits< long >::zero = 0
staticinherited

Additive identity.

Definition at line 252 of file vnl_numeric_traits.h.


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