Sha256: dbecc1b55284a7edc181ad72b4144cf145d0ff134e94f86eedf7f303a1fb569f

Contents?: true

Size: 426 Bytes

Versions: 6

Compression:

Stored size: 426 Bytes

Contents

typedef u_int8_t dtype;
typedef u_int8_t rtype;
#define cT  numo_cUInt8
#define cRT cT

#define m_num_to_data(x) ((dtype)NUM2UINT(x))
#define m_data_to_num(x) INT2FIX(x)
#define m_sprintf(s,x)   sprintf(s,"%u",(unsigned int)(x))

#ifndef UINT8_MAX
#define UINT8_MAX (255)
#endif

#define DATA_MIN UINT8_MIN
#define DATA_MAX UINT8_MAX

#define M_MIN  INT2FIX(0)
#define M_MAX  m_data_to_num(UINT8_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/uint8.h
numo-narray-0.9.2.0 ext/numo/narray/numo/types/uint8.h
numo-narray-0.9.1.9 ext/numo/narray/numo/types/uint8.h
numo-narray-0.9.1.8 ext/numo/narray/numo/types/uint8.h
numo-narray-0.9.1.7 ext/numo/narray/numo/types/uint8.h
numo-narray-0.9.1.6 ext/numo/narray/numo/types/uint8.h