[libclc] 125/291: Introduce M_LOG2E_F and M_LOG2E

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit a112a9a9456d49f4e1905e6569ba3071b82bc8ce
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Mar 28 21:19:03 2014 +0000

    Introduce M_LOG2E_F and M_LOG2E
    
    Patch by: Jeroen Ketema
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@205055 91177308-0d34-0410-b5e6-96231b3b80d8
---
 generic/include/clc/float/definitions.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/generic/include/clc/float/definitions.h b/generic/include/clc/float/definitions.h
index c28a192..d6fee84 100644
--- a/generic/include/clc/float/definitions.h
+++ b/generic/include/clc/float/definitions.h
@@ -9,7 +9,8 @@
 #define FLT_MIN         0x1.0p-126f
 #define FLT_EPSILON     0x1.0p-23f
 
-#define M_PI_F 0x1.921fb6p+1
+#define M_LOG2E_F       0x1.715476p+0
+#define M_PI_F          0x1.921fb6p+1
 
 #ifdef cl_khr_fp64
 
@@ -23,4 +24,6 @@
 #define DBL_MIN         0x1.0p-1022
 #define DBL_EPSILON     0x1.0p-52
 
+#define M_LOG2E         0x1.71547652b82fep+0
+
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list