[libclc] r209850 - Add more log related float constants

Jeroen Ketema j.ketema at imperial.ac.uk
Thu May 29 14:30:28 PDT 2014


Author: jketema
Date: Thu May 29 16:30:28 2014
New Revision: 209850

URL: http://llvm.org/viewvc/llvm-project?rev=209850&view=rev
Log:
Add more log related float constants


Modified:
    libclc/trunk/generic/include/clc/float/definitions.h

Modified: libclc/trunk/generic/include/clc/float/definitions.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/float/definitions.h?rev=209850&r1=209849&r2=209850&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/float/definitions.h (original)
+++ libclc/trunk/generic/include/clc/float/definitions.h Thu May 29 16:30:28 2014
@@ -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





More information about the cfe-commits mailing list