[libclc] 129/291: Fix _F definitions
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 539fe7060c2d0acc0af232fb0aa432ad5fd2969c
Author: Jeroen Ketema <j.ketema at imperial.ac.uk>
Date: Thu May 29 21:29:34 2014 +0000
Fix _F definitions
The 'f' was missing and, hence, the values were
considered to be doubles instead of floats.
Reviewed by: Tom Stellard
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@209849 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/include/clc/float/definitions.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/generic/include/clc/float/definitions.h b/generic/include/clc/float/definitions.h
index 8a514da..14ee35a 100644
--- a/generic/include/clc/float/definitions.h
+++ b/generic/include/clc/float/definitions.h
@@ -9,8 +9,8 @@
#define FLT_MIN 0x1.0p-126f
#define FLT_EPSILON 0x1.0p-23f
-#define M_LOG2E_F 0x1.715476p+0
-#define M_PI_F 0x1.921fb6p+1
+#define M_LOG2E_F 0x1.715476p+0f
+#define M_PI_F 0x1.921fb6p+1f
#ifdef cl_khr_fp64
--
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