summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-08 15:34:45 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-08 15:39:04 +0200
commit4852e6d27be16866bfd55309271558ce41edb232 (patch)
tree7b1d31b51bbb39754e316237218b683c58ef6093 /sc
parentc85e36bc856f52f7992ef120cb12d02f52ca0419 (diff)
Use a more boring value of pi
Innovativeness is good but perhaps not for mathematical constants. Change-Id: Icef93802ce9123120c8527f3fa07e524b6e067d0
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/op_math.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/op_math.cxx b/sc/source/core/opencl/op_math.cxx
index 60f9438811ae..557a92683a17 100644
--- a/sc/source/core/opencl/op_math.cxx
+++ b/sc/source/core/opencl/op_math.cxx
@@ -1851,7 +1851,7 @@ void OpRadians::GenSlidingWindowFunction(std::stringstream &ss,
ss << " double tmp;\n";
GenTmpVariables(ss,vSubArguments);
CheckAllSubArgumentIsNan(ss,vSubArguments);
- ss << " tmp = tmp0 * 3.141592657 * pow(180.0,-1);\n";
+ ss << " tmp = tmp0 * 3.14159265358979 * pow(180.0,-1);\n";
ss << " return tmp;\n";
ss << "}";
}