[libclc] 123/291: Add definition for M_PI_F v3
Andreas Beckmann
anbe at moszumanska.debian.org
Tue Sep 8 10:53:40 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 0dd1f0b32359949a948c557a2c20f5f735e00c3a
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Mon Mar 24 20:36:44 2014 +0000
Add definition for M_PI_F v3
v2:
- Use a hexadecimal constant.
v3:
- Use a hexadecimal constant in floating-point notation.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@204666 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/include/clc/float/definitions.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/generic/include/clc/float/definitions.h b/generic/include/clc/float/definitions.h
index e6ef1d8..e747f45 100644
--- a/generic/include/clc/float/definitions.h
+++ b/generic/include/clc/float/definitions.h
@@ -9,6 +9,8 @@
#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
--
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