Mesa (master): mesa: add precision to M_PI constant
Brian Paul
brianp at kemper.freedesktop.org
Sat May 7 14:10:28 UTC 2011
Module: Mesa
Branch: master
Commit: de3d9fa95630db0ef8fdbbfc465951f4c6b54d7c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de3d9fa95630db0ef8fdbbfc465951f4c6b54d7c
Author: Matt Turner <mattst88 at gmail.com>
Date: Fri May 6 13:01:13 2011 -0400
mesa: add precision to M_PI constant
Value found in my math.h header.
Reviewed-by: Alex Deucher <alexdeucher at gmail.com>
Signed-off-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Brian Paul <brianp at vmware.com>
---
src/mesa/main/compiler.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 81e08a0..743841b 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -355,7 +355,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
#ifndef M_PI
-#define M_PI (3.1415926536)
+#define M_PI (3.14159265358979323846)
#endif
#ifndef M_E
More information about the mesa-commit
mailing list