Sha256: 7064ba12e5d0b61d2b4cf7668bd28d712902e29180d716123fd9c76486701e96

Contents?: true

Size: 291 Bytes

Versions: 8

Compression:

Stored size: 291 Bytes

Contents

#ifndef CUMO_DFLOAT_KERNEL_H
#define CUMO_DFLOAT_KERNEL_H

typedef double dtype;
typedef double rtype;

#include "float_macro_kernel.h"

#define m_nearly_eq(x,y) (fabs(x-y)<=(fabs(x)+fabs(y))*DBL_EPSILON*2)

#define DATA_MIN -DBL_MAX
#define DATA_MAX DBL_MAX

#endif // CUMO_DFLOAT_KERNEL_H

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cumo-0.4.3 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.4.2 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.4.1 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.4.0 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.3.5 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.3.4 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.3.3 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.3.2 ext/cumo/include/cumo/types/dfloat_kernel.h