Sha256: f244f6fed8d62f7b00b042392a4b233d73561a9818280fa12967e13d93a51f2f

Contents?: true

Size: 297 Bytes

Versions: 6

Compression:

Stored size: 297 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))

#include "int_macro.h"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
numo-narray-0.9.0.6 ext/numo/narray/numo/types/int8.h
numo-narray-0.9.0.5 ext/numo/narray/numo/types/int8.h
numo-narray-0.9.0.4 ext/numo/narray/numo/types/int8.h
numo-narray-0.9.0.3-x86-mingw32 ext/numo/narray/numo/types/int8.h
numo-narray-0.9.0.3-x64-mingw32 ext/numo/narray/numo/types/int8.h
numo-narray-0.9.0.3 ext/numo/narray/numo/types/int8.h