From a8c734b1472a7e026779e8fd131db2264739f29f Mon Sep 17 00:00:00 2001 From: Guilherme Brondani Torri Date: Fri, 9 Jan 2015 13:53:16 +0100 Subject: [PATCH] replace remaining 'math.h' by 'cmath' header --- qucs-activefilter/filter.h | 2 +- qucs-activefilter/qf_poly.cpp | 2 +- qucs-activefilter/sallenkey.h | 2 +- qucs-activefilter/schcauer.h | 2 +- qucs-attenuator/attenuatorfunc.h | 2 +- qucs-filter/filter.h | 2 +- qucs-filter/qf_cauer.cpp | 2 +- qucs-filter/qf_filter.cpp | 2 +- qucs-filter/qf_poly.cpp | 2 +- qucs-filter/qucsfilter.cpp | 2 +- qucs-lib/symbolwidget.cpp | 2 +- qucs-rescodes/notation.cpp | 2 +- qucs-rescodes/resistor.cpp | 2 +- qucs-transcalc/coax.cpp | 2 +- qucs-transcalc/coplanar.cpp | 2 +- qucs-transcalc/microstrip.cpp | 2 +- qucs-transcalc/rectwaveguide.cpp | 2 +- qucs-transcalc/units.h | 2 +- qucs/components/component.cpp | 2 +- qucs/components/mutualx.cpp | 2 +- qucs/diagrams/diagramdialog.cpp | 2 +- qucs/diagrams/marker.cpp | 2 +- qucs/diagrams/tabdiagram.cpp | 2 +- qucs/diagrams/timingdiagram.cpp | 2 +- qucs/diagrams/truthdiagram.cpp | 2 +- qucs/dialogs/exportdialog.cpp | 2 +- qucs/dialogs/matchdialog.cpp | 2 +- qucs/dialogs/qucssettingsdialog.cpp | 2 +- qucs/misc.cpp | 2 +- qucs/paintings/arrow.cpp | 2 +- qucs/paintings/ellipsearc.cpp | 2 +- qucs/paintings/graphictext.cpp | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/qucs-activefilter/filter.h b/qucs-activefilter/filter.h index 20712002..36463613 100644 --- a/qucs-activefilter/filter.h +++ b/qucs-activefilter/filter.h @@ -19,7 +19,7 @@ #define FILTER_H #include -#include +#include #include struct RC_elements { diff --git a/qucs-activefilter/qf_poly.cpp b/qucs-activefilter/qf_poly.cpp index 80705da0..7b1d0d04 100644 --- a/qucs-activefilter/qf_poly.cpp +++ b/qucs-activefilter/qf_poly.cpp @@ -22,7 +22,7 @@ #include #include -#include +#include #include #undef _QF_POLY_DEBUG diff --git a/qucs-activefilter/sallenkey.h b/qucs-activefilter/sallenkey.h index 816f70d4..cf7db3ca 100644 --- a/qucs-activefilter/sallenkey.h +++ b/qucs-activefilter/sallenkey.h @@ -20,7 +20,7 @@ #include #include -#include +#include #include "filter.h" diff --git a/qucs-activefilter/schcauer.h b/qucs-activefilter/schcauer.h index fccf76ee..3d55b793 100644 --- a/qucs-activefilter/schcauer.h +++ b/qucs-activefilter/schcauer.h @@ -20,7 +20,7 @@ #include #include -#include +#include #include "filter.h" class SchCauer : public Filter // Cauer 2-order section diff --git a/qucs-attenuator/attenuatorfunc.h b/qucs-attenuator/attenuatorfunc.h index d0de3e5b..e15369b1 100644 --- a/qucs-attenuator/attenuatorfunc.h +++ b/qucs-attenuator/attenuatorfunc.h @@ -17,7 +17,7 @@ #define TEE_TYPE 1 #define BRIDGE_TYPE 2 -#include +#include struct tagATT { diff --git a/qucs-filter/filter.h b/qucs-filter/filter.h index ab0f5107..b5f58057 100644 --- a/qucs-filter/filter.h +++ b/qucs-filter/filter.h @@ -27,7 +27,7 @@ #define LIGHTSPEED 299792458.0 #define Z_FIELD 376.73031346958504364963 -#include +#include #define atanh(x) (0.5 * log((1.0 + (x)) / (1.0 - (x)))) #define asinh(x) log((x) + sqrt((x) * (x) + 1.0)) diff --git a/qucs-filter/qf_cauer.cpp b/qucs-filter/qf_cauer.cpp index 565f9d5a..d52736f7 100644 --- a/qucs-filter/qf_cauer.cpp +++ b/qucs-filter/qf_cauer.cpp @@ -17,7 +17,7 @@ // Elliptic (Cauer) filters, odd order -#include +#include #include #include #include diff --git a/qucs-filter/qf_filter.cpp b/qucs-filter/qf_filter.cpp index b4524f99..1f35e6b3 100644 --- a/qucs-filter/qf_filter.cpp +++ b/qucs-filter/qf_filter.cpp @@ -19,7 +19,7 @@ # include #endif -#include +#include #include #include #include diff --git a/qucs-filter/qf_poly.cpp b/qucs-filter/qf_poly.cpp index 5c0373c9..7e927e72 100644 --- a/qucs-filter/qf_poly.cpp +++ b/qucs-filter/qf_poly.cpp @@ -22,7 +22,7 @@ #include #include -#include +#include #include #undef _QF_POLY_DEBUG diff --git a/qucs-filter/qucsfilter.cpp b/qucs-filter/qucsfilter.cpp index 8961466d..5f368a0f 100644 --- a/qucs-filter/qucsfilter.cpp +++ b/qucs-filter/qucsfilter.cpp @@ -19,7 +19,7 @@ # include #endif -#include +#include #include #include diff --git a/qucs-lib/symbolwidget.cpp b/qucs-lib/symbolwidget.cpp index 47b703b0..8ee3c1fb 100644 --- a/qucs-lib/symbolwidget.cpp +++ b/qucs-lib/symbolwidget.cpp @@ -15,7 +15,7 @@ * * ***************************************************************************/ -#include +#include #include #include diff --git a/qucs-rescodes/notation.cpp b/qucs-rescodes/notation.cpp index 5fbc78a8..972d78db 100644 --- a/qucs-rescodes/notation.cpp +++ b/qucs-rescodes/notation.cpp @@ -19,7 +19,7 @@ #include #include -#include +#include #include "classproto.h" map Notation::constructExpToModMap() diff --git a/qucs-rescodes/resistor.cpp b/qucs-rescodes/resistor.cpp index 156ab7b6..9c101402 100644 --- a/qucs-rescodes/resistor.cpp +++ b/qucs-rescodes/resistor.cpp @@ -18,7 +18,7 @@ #include -#include +#include #include "classproto.h" using namespace std; diff --git a/qucs-transcalc/coax.cpp b/qucs-transcalc/coax.cpp index 5beac6cb..b1484468 100644 --- a/qucs-transcalc/coax.cpp +++ b/qucs-transcalc/coax.cpp @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include "units.h" #include "transline.h" diff --git a/qucs-transcalc/coplanar.cpp b/qucs-transcalc/coplanar.cpp index 4e8a31fe..f564d12d 100644 --- a/qucs-transcalc/coplanar.cpp +++ b/qucs-transcalc/coplanar.cpp @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #ifdef __MINGW32__ diff --git a/qucs-transcalc/microstrip.cpp b/qucs-transcalc/microstrip.cpp index a6566089..49a4d179 100644 --- a/qucs-transcalc/microstrip.cpp +++ b/qucs-transcalc/microstrip.cpp @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include "units.h" #include "transline.h" diff --git a/qucs-transcalc/rectwaveguide.cpp b/qucs-transcalc/rectwaveguide.cpp index 0ba6d0e2..0082df58 100644 --- a/qucs-transcalc/rectwaveguide.cpp +++ b/qucs-transcalc/rectwaveguide.cpp @@ -23,7 +23,7 @@ #include #include -#include +#include #include "units.h" #include "transline.h" diff --git a/qucs-transcalc/units.h b/qucs-transcalc/units.h index 51a352c1..cc9c9530 100644 --- a/qucs-transcalc/units.h +++ b/qucs-transcalc/units.h @@ -24,7 +24,7 @@ #ifndef __UNITS_H #define __UNITS_H -#include +#include #ifdef __MINGW32__ #define atanh(x) (0.5 * log((1.0 + (x)) / (1.0 - (x)))) diff --git a/qucs/components/component.cpp b/qucs/components/component.cpp index 95da6d99..a5039cc2 100644 --- a/qucs/components/component.cpp +++ b/qucs/components/component.cpp @@ -15,7 +15,7 @@ * * ***************************************************************************/ #include -#include +#include #include "components.h" #include "node.h" diff --git a/qucs/components/mutualx.cpp b/qucs/components/mutualx.cpp index df9a778c..1e5bd6ec 100644 --- a/qucs/components/mutualx.cpp +++ b/qucs/components/mutualx.cpp @@ -20,7 +20,7 @@ #include "mutualx.h" #include "node.h" -#include "math.h" +#include MutualX::MutualX() { diff --git a/qucs/diagrams/diagramdialog.cpp b/qucs/diagrams/diagramdialog.cpp index be13139a..3ad6be84 100644 --- a/qucs/diagrams/diagramdialog.cpp +++ b/qucs/diagrams/diagramdialog.cpp @@ -24,7 +24,7 @@ #include "schematic.h" #include "rect3ddiagram.h" -#include +#include #include #include diff --git a/qucs/diagrams/marker.cpp b/qucs/diagrams/marker.cpp index 56e3182d..cb468fc3 100644 --- a/qucs/diagrams/marker.cpp +++ b/qucs/diagrams/marker.cpp @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include "misc.h" diff --git a/qucs/diagrams/tabdiagram.cpp b/qucs/diagrams/tabdiagram.cpp index 48664eaa..03a7d616 100644 --- a/qucs/diagrams/tabdiagram.cpp +++ b/qucs/diagrams/tabdiagram.cpp @@ -26,7 +26,7 @@ #include "tabdiagram.h" #include "main.h" -#include +#include #include "misc.h" diff --git a/qucs/diagrams/timingdiagram.cpp b/qucs/diagrams/timingdiagram.cpp index 0d8730fe..291a0692 100644 --- a/qucs/diagrams/timingdiagram.cpp +++ b/qucs/diagrams/timingdiagram.cpp @@ -24,7 +24,7 @@ #include "main.h" #include "misc.h" -#include +#include #include #include diff --git a/qucs/diagrams/truthdiagram.cpp b/qucs/diagrams/truthdiagram.cpp index 7caed7ee..acb5083a 100644 --- a/qucs/diagrams/truthdiagram.cpp +++ b/qucs/diagrams/truthdiagram.cpp @@ -20,7 +20,7 @@ \brief The TruthDiagram class implements the Truth Table diagram */ -#include +#include #include diff --git a/qucs/dialogs/exportdialog.cpp b/qucs/dialogs/exportdialog.cpp index c779b04d..1300302e 100644 --- a/qucs/dialogs/exportdialog.cpp +++ b/qucs/dialogs/exportdialog.cpp @@ -14,7 +14,7 @@ * (at your option) any later version. * * * ***************************************************************************/ -#include +#include #include "exportdialog.h" #include diff --git a/qucs/dialogs/matchdialog.cpp b/qucs/dialogs/matchdialog.cpp index 6f372809..b1230edf 100644 --- a/qucs/dialogs/matchdialog.cpp +++ b/qucs/dialogs/matchdialog.cpp @@ -41,7 +41,7 @@ #include #include -#include +#include MatchDialog::MatchDialog(QWidget *parent) diff --git a/qucs/dialogs/qucssettingsdialog.cpp b/qucs/dialogs/qucssettingsdialog.cpp index 4e5e26a1..f52f6701 100644 --- a/qucs/dialogs/qucssettingsdialog.cpp +++ b/qucs/dialogs/qucssettingsdialog.cpp @@ -26,7 +26,7 @@ #include "qucssettingsdialog.h" #include -#include +#include #include #include #include "main.h" diff --git a/qucs/misc.cpp b/qucs/misc.cpp index bfe58819..1a30ed29 100644 --- a/qucs/misc.cpp +++ b/qucs/misc.cpp @@ -23,7 +23,7 @@ # include #endif -#include "math.h" +#include #include "misc.h" #include "main.h" diff --git a/qucs/paintings/arrow.cpp b/qucs/paintings/arrow.cpp index 5261d5fc..3aff065a 100644 --- a/qucs/paintings/arrow.cpp +++ b/qucs/paintings/arrow.cpp @@ -23,7 +23,7 @@ #include "arrow.h" #include "arrowdialog.h" #include "schematic.h" -#include "math.h" +#include #include #include diff --git a/qucs/paintings/ellipsearc.cpp b/qucs/paintings/ellipsearc.cpp index ad1e69c0..bc075d39 100644 --- a/qucs/paintings/ellipsearc.cpp +++ b/qucs/paintings/ellipsearc.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include EllipseArc::EllipseArc() { diff --git a/qucs/paintings/graphictext.cpp b/qucs/paintings/graphictext.cpp index 4718eb92..822ddeb0 100644 --- a/qucs/paintings/graphictext.cpp +++ b/qucs/paintings/graphictext.cpp @@ -27,7 +27,7 @@ #include #include -#include +#include GraphicText::GraphicText() {