[Junior Job] π in Calligra
Jaroslaw Staniek
staniek at kde.org
Mon Dec 10 20:06:11 GMT 2012
Hi,
If anyone feels like procrastinating feel free to reduce this
redundancy somehow :)
% ack 3.14159265
plugins/chartshape/kdchart/kdablibfakes/src/KDABLibFakes.h
42:#define M_PI 3.14159265358979323846
plugins/chartshape/kdchart/src/KDChartPolarCoordinatePlane.cpp
50:#define M_PI 3.14159265358979323846
plugins/chartshape/kdchart/src/KDChartLayoutItems.cpp
48:#define PI 3.141592653589793
plugins/chartshape/kdchart/src/KDChartAbstractDiagram.cpp
47:#define PI 3.141592653589793
filters/stage/kpr2odf/Filterkpr2odf.cpp
55:#define M_PI 3.14159265358979323846
filters/libmsooxml/MsooXmlThemesReader.cpp
45:#define M_PI 3.1415926535897932384626
filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h
32:#define M_PI 3.1415926535897932384626
filters/writerperfect/OdgGenerator.cxx
39:#define M_PI 3.14159265358979323846
stage/plugins/pageeffects/iriswipe/starWipe/KPrStarWipeEffectFactory.cpp
33:#define M_PI 3.14159265358979323846
stage/plugins/pageeffects/iriswipe/hexagonWipe/KPrHexagonWipeEffectFactory.cpp
32:#define M_PI 3.14159265358979323846
sheets/ValueCalc.cpp
1714: double y, s, t, tp, u, f, a0 = 3.14159265358979;
sheets/functions/trig.xml
274: <Example>PI() equals 3.141592654...</Example>
sheets/tests/TestTrigFunctions.cpp
287: CHECK_EVAL("PI()", 3.14159265358979);
karbon/common/KarbonGlobal.h
39:const qreal pi = 3.14159265358979323846; // pi
krita/plugins/tools/selectiontools/kis_tool_select_magnetic.cc
52:const qreal pi = 3.1415926535897932384626433832795;
krita/plugins/extensions/dockers/artisticcolorselector/kis_radian.h
24:#define PI 3.14159265358979323846
30:#define RAD_180 3.14159265358979323846 // 180° = PI
krita/image/kis_filter_strategy.cc
154: const qreal pi = 3.1415926535897932385;
krita/image/kis_image.cc
636: const qreal pi = 3.1415926535897932385;
libs/pigment/KoColorSpaceMaths.h
540: const static qreal pi = 3.14159265358979323846;
libs/kotext/styles/tests/TestOpenDocumentStyle.cpp
230: result << "5deg" << "1rad" << "400grad" <<
"3.14159265rad" << "45"; // OpenDocument 1.1 : no unit == degrees
libs/vectorimage/libwmf/kwmf.cc
38:#define PI (3.14159265358979323846)
--
regards / pozdrawiam, Jaroslaw Staniek
Kexi & Calligra & KDE | http://calligra.org/kexi | http://kde.org
Qt Certified Specialist | http://qt-project.org
http://www.linkedin.com/in/jstaniek
More information about the calligra-devel
mailing list