Sha256: d3b9ae2cdbc4b080b5a2b7b84e6651dbf1bac24958f4eb5e5fd010e617ae26ed

Contents?: true

Size: 290 Bytes

Versions: 12

Compression:

Stored size: 290 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_MIN
#define DATA_MAX DBL_MAX

#endif // CUMO_DFLOAT_KERNEL_H

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cumo-0.3.1 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.3.0 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.3.0.pre1 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.2.5 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.2.4 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.2.3 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.2.2 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.2.1 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.2.0 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.1.2 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.1.1 ext/cumo/include/cumo/types/dfloat_kernel.h
cumo-0.1.0 ext/cumo/include/cumo/types/dfloat_kernel.h