Sha256: d451c2428ba5606eee83658cfb30b4e9c08d1f00c295a310a62714083b111f27

Contents?: true

Size: 473 Bytes

Versions: 6

Compression:

Stored size: 473 Bytes

Contents

typedef u_int64_t dtype;
typedef u_int64_t rtype;
#define cT  numo_cUInt64
#define cRT cT

#define m_num_to_data(x) ((dtype)NUM2UINT64(x))
#define m_data_to_num(x) UINT642NUM((u_int64_t)(x))
#define m_sprintf(s,x)   sprintf(s,"%"PRIu64,(u_int64_t)(x))

#ifndef UINT64_MAX
#define UINT64_MAX (18446744073709551615ul)
#endif

#define DATA_MIN UINT64_MIN
#define DATA_MAX UINT64_MAX

#define M_MIN  INT2FIX(0)
#define M_MAX  m_data_to_num(UINT64_MAX)

#include "uint_macro.h"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
numo-narray-0.9.2.1 ext/numo/narray/numo/types/uint64.h
numo-narray-0.9.2.0 ext/numo/narray/numo/types/uint64.h
numo-narray-0.9.1.9 ext/numo/narray/numo/types/uint64.h
numo-narray-0.9.1.8 ext/numo/narray/numo/types/uint64.h
numo-narray-0.9.1.7 ext/numo/narray/numo/types/uint64.h
numo-narray-0.9.1.6 ext/numo/narray/numo/types/uint64.h