[Libclc-dev] [PATCH 1/2] Replace tabs by spaces

Jeroen Ketema j.ketema at imperial.ac.uk
Tue Mar 25 13:32:25 PDT 2014


---
generic/include/clc/float/definitions.h | 38 ++++++++++++++++-----------------
1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/generic/include/clc/float/definitions.h b/generic/include/clc/float/definitions.h
index e747f45..c28a192 100644
--- a/generic/include/clc/float/definitions.h
+++ b/generic/include/clc/float/definitions.h
@@ -1,26 +1,26 @@
-#define FLT_DIG 	6
-#define FLT_MANT_DIG 	24
-#define FLT_MAX_10_EXP 	+38
-#define FLT_MAX_EXP 	+128
-#define FLT_MIN_10_EXP 	-37
-#define FLT_MIN_EXP 	-125
-#define FLT_RADIX 	2
-#define FLT_MAX 	0x1.fffffep127f
-#define FLT_MIN 	0x1.0p-126f
-#define FLT_EPSILON 	0x1.0p-23f
+#define FLT_DIG         6
+#define FLT_MANT_DIG    24
+#define FLT_MAX_10_EXP  +38
+#define FLT_MAX_EXP     +128
+#define FLT_MIN_10_EXP  -37
+#define FLT_MIN_EXP     -125
+#define FLT_RADIX       2
+#define FLT_MAX         0x1.fffffep127f
+#define FLT_MIN         0x1.0p-126f
+#define FLT_EPSILON     0x1.0p-23f

#define M_PI_F 0x1.921fb6p+1

#ifdef cl_khr_fp64

-#define DBL_DIG 	15
-#define DBL_MANT_DIG 	53
-#define DBL_MAX_10_EXP 	+308
-#define DBL_MAX_EXP 	+1024
-#define DBL_MIN_10_EXP 	-307
-#define DBL_MIN_EXP 	-1021
-#define DBL_MAX 	0x1.fffffffffffffp1023
-#define DBL_MIN 	0x1.0p-1022
-#define DBL_EPSILON 	0x1.0p-52
+#define DBL_DIG         15
+#define DBL_MANT_DIG    53
+#define DBL_MAX_10_EXP  +308
+#define DBL_MAX_EXP     +1024
+#define DBL_MIN_10_EXP  -307
+#define DBL_MIN_EXP     -1021
+#define DBL_MAX         0x1.fffffffffffffp1023
+#define DBL_MIN         0x1.0p-1022
+#define DBL_EPSILON     0x1.0p-52

#endif
-- 
1.8.5.2 (Apple Git-48)





More information about the Libclc-dev mailing list