Sha256: 4f2e26d6e16fa0306b0485edd4b6e4fdbdf796eba49677d2f3fd1b7ccc6bb80f

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

typedef int32_t dtype;
typedef int32_t rtype;
#define cT  numo_cInt32
#define cRT cT

#define m_num_to_data(x) ((dtype)NUM2INT32(x))
#define m_data_to_num(x) INT322NUM((int32_t)(x))
#define m_extract(x)     INT322NUM((int32_t)*(dtype*)(x))
#define m_sprintf(s,x)   sprintf(s,"%"PRId32,(int32_t)(x))
#define m_rand           ((dtype)gen_rand32())

#include "int_macro.h"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
numo-narray-0.9.0.1-x64-mingw32 ext/numo/narray/numo/types/int32.h
numo-narray-0.9.0.1 ext/numo/narray/numo/types/int32.h
numo-narray-0.9.0.1-x86-mingw32 ext/numo/narray/numo/types/int32.h