gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/libbase utility.h


From: Markus Gothe
Subject: [Gnash-commit] gnash/libbase utility.h
Date: Wed, 29 Aug 2007 23:19:45 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/08/29 23:19:45

Modified files:
        libbase        : utility.h 

Log message:
        More fixes on trunc()

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&r1=1.33&r2=1.34

Patches:
Index: utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- utility.h   29 Aug 2007 23:17:59 -0000      1.33
+++ utility.h   29 Aug 2007 23:19:45 -0000      1.34
@@ -119,7 +119,7 @@
 #endif
 inline int     frnd(float f) { return (int)(f + 0.5f); }       // replace with 
inline asm if desired
 #ifndef HAVE_TRUNC
-inline double trunc(double x) ( x < 0 ?  -(std::floor(-x)) : std::floor(x) )
+inline double trunc(double x) { return (x < 0 ?  -(std::floor(-x)) : 
std::floor(x)); }
 #endif
 
 // Handy macro to quiet compiler warnings about unused parameters/variables.




reply via email to

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