Kaydet (Commit) 4852e6d2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use a more boring value of pi

Innovativeness is good but perhaps not for mathematical constants.

Change-Id: Icef93802ce9123120c8527f3fa07e524b6e067d0
üst c85e36bc
......@@ -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 << "}";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment