[Libclc-dev] [PATCH 2/3] Add more log related float constants
Jeroen Ketema
j.ketema at imperial.ac.uk
Sun May 4 14:42:48 PDT 2014
---
generic/include/clc/float/definitions.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/generic/include/clc/float/definitions.h b/generic/include/clc/float/definitions.h
index 83bdd9d..fbed571 100644
--- a/generic/include/clc/float/definitions.h
+++ b/generic/include/clc/float/definitions.h
@@ -10,6 +10,9 @@
#define FLT_EPSILON 0x1.0p-23f
#define M_LOG2E_F 0x1.715476p+0f
+#define M_LOG10E_F 0x1.bcb7b2p-2f
+#define M_LN2_F 0x1.62e430p-1f
+#define M_LN10_F 0x1.26bb1cp+1f
#define M_PI_F 0x1.921fb6p+1f
#ifdef cl_khr_fp64
--
1.8.5.2 (Apple Git-48)
More information about the Libclc-dev
mailing list