"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/base/math-script.cpp" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

math-script.cpp  (icinga2-2.11.5):math-script.cpp  (icinga2-2.12.0)
skipping to change at line 184 skipping to change at line 184
mathNS->Set("sin", new Function("Math#sin", MathSin, { "x" }, true)); mathNS->Set("sin", new Function("Math#sin", MathSin, { "x" }, true));
mathNS->Set("sqrt", new Function("Math#sqrt", MathSqrt, { "x" }, true)); mathNS->Set("sqrt", new Function("Math#sqrt", MathSqrt, { "x" }, true));
mathNS->Set("tan", new Function("Math#tan", MathTan, { "x" }, true)); mathNS->Set("tan", new Function("Math#tan", MathTan, { "x" }, true));
mathNS->Set("isnan", new Function("Math#isnan", MathIsnan, { "x" }, true) ); mathNS->Set("isnan", new Function("Math#isnan", MathIsnan, { "x" }, true) );
mathNS->Set("isinf", new Function("Math#isinf", MathIsinf, { "x" }, true) ); mathNS->Set("isinf", new Function("Math#isinf", MathIsinf, { "x" }, true) );
mathNS->Set("sign", new Function("Math#sign", MathSign, { "x" }, true)); mathNS->Set("sign", new Function("Math#sign", MathSign, { "x" }, true));
mathNSBehavior->Freeze(); mathNSBehavior->Freeze();
Namespace::Ptr systemNS = ScriptGlobal::Get("System"); Namespace::Ptr systemNS = ScriptGlobal::Get("System");
systemNS->SetAttribute("Math", std::make_shared<ConstEmbeddedNamespaceVal ue>(mathNS)); systemNS->SetAttribute("Math", new ConstEmbeddedNamespaceValue(mathNS));
}); });
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)