gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog libbase/tu_math.h


From: Markus Gothe
Subject: [Gnash-commit] gnash ChangeLog libbase/tu_math.h
Date: Sat, 10 Feb 2007 17:07:09 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/02/10 17:07:09

Modified files:
        .              : ChangeLog 
        libbase        : tu_math.h 

Log message:
        using namespace std;

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2301&r2=1.2302
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_math.h?cvsroot=gnash&r1=1.17&r2=1.18

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2301
retrieving revision 1.2302
diff -u -b -r1.2301 -r1.2302
--- ChangeLog   10 Feb 2007 17:05:35 -0000      1.2301
+++ ChangeLog   10 Feb 2007 17:07:09 -0000      1.2302
@@ -1,6 +1,7 @@
 2007-02-10 Markus Gothe <address@hidden>
 
        * server/asobj/Math.cpp: using namespace std;
+       * libbase/tu_math.h: using namespace std;
 
 2007-02-10 Udo Giacomozzi <address@hidden>
 

Index: libbase/tu_math.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_math.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- libbase/tu_math.h   12 Oct 2006 15:17:08 -0000      1.17
+++ libbase/tu_math.h   10 Feb 2007 17:07:09 -0000      1.18
@@ -12,6 +12,8 @@
 #include <cmath>
 #include <cfloat>
 
+using namespace std;
+
 // OSX doesn't have single precision math functions defined in math.h
 #ifdef __MACH__
     #define sinf sin
@@ -26,36 +28,6 @@
     #define expf exp
     #define fabsf fabs
     #define powf pow
-#elif !defined(__GNUC__) //Non gnuism...
-    #define sinf std::sinf
-    #define floorf std::floorf
-    #define cosf std::cosf
-    #define tanf std::tanf
-    #define asinf std::asinf
-    #define acosf std::acosf
-    #define atanf std::atanf
-    #define atan2f std::atan2f
-    #define sqrtf std::sqrtf
-    #define logf std::logf
-    #define expf std::expf
-    #define fabsf std::fabsf
-    #define powf std::powf
-    #define ceilf std::ceilf
-    #define sqrt std::sqrt
-    #define floor std::floor
-    #define sin std::sin
-    #define cos std::cos
-    #define log std::log
-    #define ceil std::ceil
-    #define pow std::pow
-    #define exp std::exp
-    #define asin std::asin
-    #define acos std::acos
-    #define atan std::atan
-    #define tan std::tan
-    #define fabs std::fabs
-    #define atan2 std::atan2
-    #define modff std::modff
 #endif
 
 // isfinite() comes with C99; fake version here in case compiler lacks it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]