[libclc] r209848 - Add definition for M_PI
Jeroen Ketema
j.ketema at imperial.ac.uk
Thu May 29 14:24:57 PDT 2014
Author: jketema
Date: Thu May 29 16:24:57 2014
New Revision: 209848
URL: http://llvm.org/viewvc/llvm-project?rev=209848&view=rev
Log:
Add definition for M_PI
Reviewed by: Tom Stellard
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=209848&r1=209847&r2=209848&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/float/definitions.h (original)
+++ libclc/trunk/generic/include/clc/float/definitions.h Thu May 29 16:24:57 2014
@@ -25,5 +25,6 @@
#define DBL_EPSILON 0x1.0p-52
#define M_LOG2E 0x1.71547652b82fep+0
+#define M_PI 0x1.921fb54442d18p+1
#endif
More information about the cfe-commits
mailing list