libsimdpp  0.9.3
simdpp::int128 Class Reference

Base class for all 128-bit integer objects. More...

Inheritance diagram for simdpp::int128:

Public Types

typedef uint64_t element_type
 
typedef uint64_t uint_element_type
 
typedef int128 int_vector_type
 

Public Member Functions

 int128 ()
 
 int128 (const int128 &d)
 
int128operator= (const int128 &d)
 

Static Public Member Functions

static int128 zero ()
 Creates a 128-bit integer vector with the contents set to zero. More...
 
static int128 ones ()
 Creates a 128-bit integer vector with contents set to ones. More...
 

Static Public Attributes

static const unsigned length = 2
 
static const unsigned num_bits = 64
 
static const uint_element_type all_bits = 0xffffffffffffffff
 

Detailed Description

Base class for all 128-bit integer objects.

Member Typedef Documentation

typedef uint64_t simdpp::int128::element_type

Constructor & Destructor Documentation

simdpp::int128::int128 ( )
inline
simdpp::int128::int128 ( const int128 d)
inline

Member Function Documentation

static int128 simdpp::int128::ones ( )
static

Creates a 128-bit integer vector with contents set to ones.

a[0..127] = 0
int128& simdpp::int128::operator= ( const int128 d)
inline
static int128 simdpp::int128::zero ( )
static

Creates a 128-bit integer vector with the contents set to zero.

Construct from the underlying vector type Convert to underlying vector type

a[0..127] = 0

Member Data Documentation

const uint_element_type simdpp::int128::all_bits = 0xffffffffffffffff
static
const unsigned simdpp::int128::length = 2
static
const unsigned simdpp::int128::num_bits = 64
static

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