GraphLab: Distributed Graph-Parallel API  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
graphlab::gl_uint128_t Union Reference

#include <graphlab/util/uint128.hpp>

List of all members.

Public Member Functions

 gl_uint128_t (uint64_t val)

Public Attributes

struct {
   uint64_t   high
   uint64_t   low
ints
char bytes [16]

Detailed Description

A 128 bit numeric type. This type is a union of a 16-byte character array (bytes), and struct of two 64-bit integers (ints.high and ints.low).

Definition at line 37 of file uint128.hpp.


Constructor & Destructor Documentation

graphlab::gl_uint128_t::gl_uint128_t ( uint64_t  val)
inlineexplicit

Constructs a 128-bit type from a 64-bit value. It simply clears the "high" 64 bits of the 128-bit integer, and sets the low 64-bits to the input

Definition at line 51 of file uint128.hpp.


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