Sha256: 5506acd737e4214353080ccdb93360d171b4ba22b1838a1ab62cd6e456f328f0

Contents?: true

Size: 383 Bytes

Versions: 3

Compression:

Stored size: 383 Bytes

Contents

typedef u_int16_t dtype;
typedef u_int16_t rtype;
#define cT  numo_cUInt16
#define cRT cT

#define m_num_to_data(x) ((dtype)NUM2UINT(x))
#define m_data_to_num(x) UINT2NUM((unsigned int)(x))
#define m_extract(x)     UINT2NUM((unsigned int)*(dtype*)(x))
#define m_sprintf(s,x)   sprintf(s,"%u",(unsigned int)(x))
#define m_rand           ((dtype)gen_rand32())

#include "uint_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/uint16.h
numo-narray-0.9.0.1 ext/numo/narray/numo/types/uint16.h
numo-narray-0.9.0.1-x86-mingw32 ext/numo/narray/numo/types/uint16.h