Sha256: 687d06eebff2aa5cfce9776e1304e83f19ad75fc8eebb40b8d141d0dabd15b28
Contents?: true
Size: 551 Bytes
Versions: 6
Compression:
Stored size: 551 Bytes
Contents
typedef int16_t dtype; typedef int16_t rtype; #define cT numo_cInt16 #define cRT cT #define m_num_to_data(x) ((dtype)NUM2INT(x)) #if SIZEOF_INT > 2 #define m_data_to_num(x) INT2FIX(x) #else #define m_data_to_num(x) INT2NUM(x) #endif #define m_sprintf(s,x) sprintf(s,"%d",(int)(x)) #ifndef INT16_MIN #define INT16_MIN (-32767-1) #endif #ifndef INT16_MAX #define INT16_MAX (32767) #endif #define DATA_MIN INT16_MIN #define DATA_MAX INT16_MAX #define M_MIN m_data_to_num(INT16_MIN) #define M_MAX m_data_to_num(INT16_MAX) #include "int_macro.h"
Version data entries
6 entries across 6 versions & 1 rubygems