Skip to content

Commit

Permalink
+ Replace math.h with cmath
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jan 5, 2014
1 parent 7166290 commit 847b6b7
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/Base/Tools2D.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#define BASE_TOOLS2D_H


#include <math.h>
#include <cmath>
#include <stdio.h>
#include <list>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Base/Vector3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#define BASE_VECTOR3D_H


#include <math.h>
#include <cmath>

#define FLOAT_EPS 1.0e-4f

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ See also:

#include <QApplication>
#include <windows.h>
#include <math.h>
#include <cmath>

#define LOGITECH_VENDOR_ID 0x46d
#define _CONSTANT_INPUT_PERIOD 0
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/DlgSettingsColorGradientImp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#endif

#ifndef _PreComp_
#include <math.h>
#include <cmath>
#endif

#include "DlgSettingsColorGradientImp.h"
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/DownloadItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include "PreCompiled.h"
#include <stdio.h>
#include <math.h>
#include <cmath>

#include <QAuthenticator>
#include <QContextMenuEvent>
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include "PreCompiled.h"
#include <stdio.h>
#include <math.h>
#include <cmath>

#include <QByteArray>
#include <QDockWidget>
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/Inventor/SoAutoZoomTranslation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef _PreComp_
# include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/misc/SoState.h>
# include <math.h>
# include <cmath>
# include <cfloat>
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Assembly/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Complete/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Image/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Mesh/App/Core/Definitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include "PreCompiled.h"

#include <math.h>
#include <cmath>

#include "Definitions.h"

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Mesh/App/Core/Evaluation.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#define MESH_EVALUATION_H

#include <list>
#include <math.h>
#include <cmath>

#include "MeshKernel.h"
#include "Visitor.h"
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Mesh/App/Core/MeshIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <Base/Placement.h>
#include <zipios++/gzipoutputstream.h>

#include <math.h>
#include <cmath>
#include <sstream>
#include <iomanip>
#include <boost/regex.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Mesh/App/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
// standard
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <cmath>
#include <float.h>
#include <fcntl.h>
#include <ios>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/MeshPart/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// OCC
#include <Standard_math.hxx>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Points/App/Points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include "PreCompiled.h"
#ifndef _PreComp_
# include <math.h>
# include <cmath>
# include <iostream>
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Points/App/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#include <vector>
#include <bitset>
#include <float.h>
#include <math.h>
#include <cmath>
#include <stdlib.h>

#endif //_PreComp_
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/ReverseEngineering/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Robot/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/App/Sketch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

#include "Sketch.h"
#include "Constraint.h"
#include <math.h>
#include <cmath>

#include <iostream>

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/Gui/SoDatumLabel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# include <Inventor/SoPrimitiveVertex.h>
# include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/misc/SoState.h>
# include <math.h>
# include <cmath>
#endif
#include <Inventor/actions/SoGetMatrixAction.h>
#include <Inventor/elements/SoFontNameElement.h>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/Gui/SoZoomTranslation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef _PreComp_
# include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/misc/SoState.h>
# include <math.h>
# include <cmath>
# include <cfloat>
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Start/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Web/Gui/PreCompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
#include <cmath>

// STL
#include <vector>
Expand Down

0 comments on commit 847b6b7

Please sign in to comment.