+ Replace math.h with cmath
This commit is contained in:
parent
716629006c
commit
847b6b79e0
|
@ -25,7 +25,7 @@
|
|||
#define BASE_TOOLS2D_H
|
||||
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <stdio.h>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#define BASE_VECTOR3D_H
|
||||
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#define FLOAT_EPS 1.0e-4f
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ http://www.3dconnexion.com/forum/viewtopic.php?f=19&t=4968&sid=72c018bdcf0e6edc9
|
|||
|
||||
#include <QApplication>
|
||||
#include <windows.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#define LOGITECH_VENDOR_ID 0x46d
|
||||
#define _CONSTANT_INPUT_PERIOD 0
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#endif
|
||||
|
||||
#ifndef _PreComp_
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#endif
|
||||
|
||||
#include "DlgSettingsColorGradientImp.h"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "PreCompiled.h"
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include <QAuthenticator>
|
||||
#include <QContextMenuEvent>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "PreCompiled.h"
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QDockWidget>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef _PreComp_
|
||||
# include <Inventor/actions/SoGLRenderAction.h>
|
||||
# include <Inventor/misc/SoState.h>
|
||||
# include <math.h>
|
||||
# include <cmath>
|
||||
# include <cfloat>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include "Definitions.h"
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#define MESH_EVALUATION_H
|
||||
|
||||
#include <list>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include "MeshKernel.h"
|
||||
#include "Visitor.h"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
#include <fcntl.h>
|
||||
#include <ios>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// OCC
|
||||
#include <Standard_math.hxx>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <math.h>
|
||||
# include <cmath>
|
||||
# include <iostream>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#include <vector>
|
||||
#include <bitset>
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <stdlib.h>
|
||||
|
||||
#endif //_PreComp_
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
#include "Sketch.h"
|
||||
#include "Constraint.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef _PreComp_
|
||||
# include <Inventor/actions/SoGLRenderAction.h>
|
||||
# include <Inventor/misc/SoState.h>
|
||||
# include <math.h>
|
||||
# include <cmath>
|
||||
# include <cfloat>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
|
Loading…
Reference in New Issue
Block a user