mesa: add precision to M_PI constant
authorMatt Turner <mattst88@gmail.com>
Fri, 6 May 2011 17:01:13 +0000 (13:01 -0400)
committerBrian Paul <brianp@vmware.com>
Fri, 6 May 2011 16:36:32 +0000 (10:36 -0600)
Value found in my math.h header.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/compiler.h

index 81e08a006f8a7d795b90d8e2605bd97ce301cc3f..743841be4ef8378beed5e15037ab921c3d530db7 100644 (file)
@@ -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