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

#include <vnl_numeric_traits.h>

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

Public Types

typedef unsigned long long abs_t
 Return value of abs(). More...
 
typedef long long 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 long zero = 0
 Additive identity. More...
 
static constexpr long long one = 1
 Multiplicative identity. More...
 
static constexpr long long maxval = sizeof(long long)==8?((vxl_uint_64)(-1))/2:0x7fffffffL
 Maximum value which this type can assume. More...
 

Detailed Description

template<>
class vnl_numeric_traits< long long >

Definition at line 293 of file vnl_numeric_traits.h.

Member Typedef Documentation

◆ abs_t

typedef unsigned long long vnl_numeric_traits< long long >::abs_t

Return value of abs().

Definition at line 303 of file vnl_numeric_traits.h.

◆ double_t

typedef long long vnl_numeric_traits< long long >::double_t

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

Definition at line 305 of file vnl_numeric_traits.h.

◆ real_t

typedef double vnl_numeric_traits< long long >::real_t

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

Definition at line 307 of file vnl_numeric_traits.h.

Member Data Documentation

◆ maxval

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

Maximum value which this type can assume.

Definition at line 301 of file vnl_numeric_traits.h.

◆ one

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

Multiplicative identity.

Definition at line 299 of file vnl_numeric_traits.h.

◆ zero

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

Additive identity.

Definition at line 297 of file vnl_numeric_traits.h.


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