Sha256: 113db60801dd8ce6f4220e7a18c3f830312b4c9da5eca5634c4ab7ed4dc485a2

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

typedef dcomplex dtype;
typedef double rtype;
#define cT  numo_cDComplex
#define cRT numo_cDFloat
#define mTM numo_mDComplexMath

#include "complex_macro.h"

static inline bool c_nearly_eq(dtype x, dtype y) {
    return c_abs(c_sub(x,y)) <= (c_abs(x)+c_abs(y))*DBL_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/dcomplex.h
numo-narray-0.9.0.1 ext/numo/narray/numo/types/dcomplex.h
numo-narray-0.9.0.1-x86-mingw32 ext/numo/narray/numo/types/dcomplex.h