+ Replace math.h with cmath
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user