Sha256: 85827af959ac5ed68449dc564153aa2546daa3b9233b029790a336939e60152e
Contents?: true
Size: 277 Bytes
Versions: 3
Compression:
Stored size: 277 Bytes
Contents
typedef scomplex dtype; typedef float rtype; #define cT numo_cSComplex #define cRT numo_cSFloat #define mTM numo_mSComplexMath #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))*FLT_EPSILON*2; }
Version data entries
3 entries across 3 versions & 1 rubygems