Sha256: d0b39719a4d564658d2a7247690387ed3cfa3a12c30dc70b7238d662c2abe4bd

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

typedef int8_t dtype;
typedef int8_t rtype;
#define cT  numo_cInt8
#define cRT cT

#define m_num_to_data(x) ((dtype)NUM2INT(x))
#define m_data_to_num(x) INT2NUM((int)(x))
#define m_extract(x)     INT2NUM((int)*(dtype*)(x))
#define m_sprintf(s,x)   sprintf(s,"%d",(int)(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/int8.h
numo-narray-0.9.0.1 ext/numo/narray/numo/types/int8.h
numo-narray-0.9.0.1-x86-mingw32 ext/numo/narray/numo/types/int8.h