← Back to team overview

kicad-developers team mailing list archive

[PATCH] Remove definition of log10(double)

 

This is also defined in <math.h>, and likely to be a compiler intrinsic.
---
 common/widgets/mathplot.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/common/widgets/mathplot.cpp b/common/widgets/mathplot.cpp
index 3a1896b..f9de3ae 100644
--- a/common/widgets/mathplot.cpp
+++ b/common/widgets/mathplot.cpp
@@ -3332,12 +3332,6 @@ double mpScaleXLog::TransformFromPlot( double xplot )
 }
 
 
-double log10( double x )
-{
-    return log( x ) / log( 10.0 );
-}
-
-
 #if 0
 mpFSemiLogXVector::mpFSemiLogXVector( wxString name, int flags ) :
     mpFXYVector( name, flags )

Follow ups