Sha256: 46d7af03329dd9be5f5849235f19c954062898ed0c220015d80c00ca0eb3691b

Contents?: true

Size: 288 Bytes

Versions: 12

Compression:

Stored size: 288 Bytes

Contents

#ifndef CUMO_SFLOAT_KERNEL_H
#define CUMO_SFLOAT_KERNEL_H

typedef float dtype;
typedef float rtype;

#include "float_macro_kernel.h"

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

#define DATA_MIN FLT_MIN
#define DATA_MAX FLT_MAX

#endif // CUMO_SFLOAT_KERNEL_H

Version data entries

12 entries across 12 versions & 1 rubygems

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