Sha256: c321ce72a03c9ac5d156f9f824a03b2e7ef50f57cc80b825b0f7babbedd08086

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

typedef float dtype;
typedef float rtype;
#define cT  numo_cSFloat
#define cRT cT
#define mTM numo_mSFloatMath

#include "float_macro.h"

#define m_min_init numo_sfloat_new_dim0(0.0/0.0)
#define m_max_init numo_sfloat_new_dim0(0.0/0.0)

#define m_extract(x) rb_float_new(*(float*)x)
#define m_nearly_eq(x,y) (fabs(x-y)<=(fabs(x)+fabs(y))*FLT_EPSILON*2)

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/sfloat.h
numo-narray-0.9.0.1 ext/numo/narray/numo/types/sfloat.h
numo-narray-0.9.0.1-x86-mingw32 ext/numo/narray/numo/types/sfloat.h