+ Replace math.h with cmath

This commit is contained in:
wmayer 2014-01-05 11:25:40 +01:00
parent 716629006c
commit 847b6b79e0
26 changed files with 26 additions and 26 deletions

View File

@ -25,7 +25,7 @@
#define BASE_TOOLS2D_H #define BASE_TOOLS2D_H
#include <math.h> #include <cmath>
#include <stdio.h> #include <stdio.h>
#include <list> #include <list>
#include <vector> #include <vector>

View File

@ -25,7 +25,7 @@
#define BASE_VECTOR3D_H #define BASE_VECTOR3D_H
#include <math.h> #include <cmath>
#define FLOAT_EPS 1.0e-4f #define FLOAT_EPS 1.0e-4f

View File

@ -29,7 +29,7 @@ http://www.3dconnexion.com/forum/viewtopic.php?f=19&t=4968&sid=72c018bdcf0e6edc9
#include <QApplication> #include <QApplication>
#include <windows.h> #include <windows.h>
#include <math.h> #include <cmath>
#define LOGITECH_VENDOR_ID 0x46d #define LOGITECH_VENDOR_ID 0x46d
#define _CONSTANT_INPUT_PERIOD 0 #define _CONSTANT_INPUT_PERIOD 0

View File

@ -29,7 +29,7 @@
#endif #endif
#ifndef _PreComp_ #ifndef _PreComp_
#include <math.h> #include <cmath>
#endif #endif
#include "DlgSettingsColorGradientImp.h" #include "DlgSettingsColorGradientImp.h"

View File

@ -23,7 +23,7 @@
#include "PreCompiled.h" #include "PreCompiled.h"
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <cmath>
#include <QAuthenticator> #include <QAuthenticator>
#include <QContextMenuEvent> #include <QContextMenuEvent>

View File

@ -23,7 +23,7 @@
#include "PreCompiled.h" #include "PreCompiled.h"
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <cmath>
#include <QByteArray> #include <QByteArray>
#include <QDockWidget> #include <QDockWidget>

View File

@ -25,7 +25,7 @@
#ifndef _PreComp_ #ifndef _PreComp_
# include <Inventor/actions/SoGLRenderAction.h> # include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/misc/SoState.h> # include <Inventor/misc/SoState.h>
# include <math.h> # include <cmath>
# include <cfloat> # include <cfloat>
#endif #endif

View File

@ -44,7 +44,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>

View File

@ -44,7 +44,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>

View File

@ -49,7 +49,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>

View File

@ -51,7 +51,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>

View File

@ -23,7 +23,7 @@
#include "PreCompiled.h" #include "PreCompiled.h"
#include <math.h> #include <cmath>
#include "Definitions.h" #include "Definitions.h"

View File

@ -25,7 +25,7 @@
#define MESH_EVALUATION_H #define MESH_EVALUATION_H
#include <list> #include <list>
#include <math.h> #include <cmath>
#include "MeshKernel.h" #include "MeshKernel.h"
#include "Visitor.h" #include "Visitor.h"

View File

@ -39,7 +39,7 @@
#include <Base/Placement.h> #include <Base/Placement.h>
#include <zipios++/gzipoutputstream.h> #include <zipios++/gzipoutputstream.h>
#include <math.h> #include <cmath>
#include <sstream> #include <sstream>
#include <iomanip> #include <iomanip>
#include <boost/regex.hpp> #include <boost/regex.hpp>

View File

@ -49,7 +49,7 @@
// standard // standard
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
#include <float.h> #include <float.h>
#include <fcntl.h> #include <fcntl.h>
#include <ios> #include <ios>

View File

@ -52,7 +52,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>

View File

@ -52,7 +52,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// OCC // OCC
#include <Standard_math.hxx> #include <Standard_math.hxx>

View File

@ -23,7 +23,7 @@
#include "PreCompiled.h" #include "PreCompiled.h"
#ifndef _PreComp_ #ifndef _PreComp_
# include <math.h> # include <cmath>
# include <iostream> # include <iostream>
#endif #endif

View File

@ -61,7 +61,7 @@
#include <vector> #include <vector>
#include <bitset> #include <bitset>
#include <float.h> #include <float.h>
#include <math.h> #include <cmath>
#include <stdlib.h> #include <stdlib.h>
#endif //_PreComp_ #endif //_PreComp_

View File

@ -52,7 +52,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>

View File

@ -49,7 +49,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>

View File

@ -50,7 +50,7 @@
#include "Sketch.h" #include "Sketch.h"
#include "Constraint.h" #include "Constraint.h"
#include <math.h> #include <cmath>
#include <iostream> #include <iostream>

View File

@ -42,7 +42,7 @@
# include <Inventor/SoPrimitiveVertex.h> # include <Inventor/SoPrimitiveVertex.h>
# include <Inventor/actions/SoGLRenderAction.h> # include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/misc/SoState.h> # include <Inventor/misc/SoState.h>
# include <math.h> # include <cmath>
#endif #endif
#include <Inventor/actions/SoGetMatrixAction.h> #include <Inventor/actions/SoGetMatrixAction.h>
#include <Inventor/elements/SoFontNameElement.h> #include <Inventor/elements/SoFontNameElement.h>

View File

@ -25,7 +25,7 @@
#ifndef _PreComp_ #ifndef _PreComp_
# include <Inventor/actions/SoGLRenderAction.h> # include <Inventor/actions/SoGLRenderAction.h>
# include <Inventor/misc/SoState.h> # include <Inventor/misc/SoState.h>
# include <math.h> # include <cmath>
# include <cfloat> # include <cfloat>
#endif #endif

View File

@ -44,7 +44,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>

View File

@ -42,7 +42,7 @@
// standard // standard
#include <iostream> #include <iostream>
#include <assert.h> #include <assert.h>
#include <math.h> #include <cmath>
// STL // STL
#include <vector> #include <vector>