gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/libbase utility.h [release_0_8_1]


From: Markus Gothe
Subject: [Gnash-commit] gnash/libbase utility.h [release_0_8_1]
Date: Mon, 27 Aug 2007 16:29:23 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         release_0_8_1
Changes by:     Markus Gothe <nihilus>  07/08/27 16:29:23

Modified files:
        libbase        : utility.h 

Log message:
        Typo fix

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&only_with_tag=release_0_8_1&r1=1.25.2.1&r2=1.25.2.2

Patches:
Index: utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.25.2.1
retrieving revision 1.25.2.2
diff -u -b -r1.25.2.1 -r1.25.2.2
--- utility.h   27 Aug 2007 12:03:14 -0000      1.25.2.1
+++ utility.h   27 Aug 2007 16:29:23 -0000      1.25.2.2
@@ -115,7 +115,7 @@
 // the overridden log(f) will use logf IFF f is a float
 inline float   log2(float f) { return std::log(f) / LN_2; }
 //exp2 might be missing on Net-/OpenBSD.
-inline float    exp2(double d, double x) { return std::pow((double)d, 
double(x)); }
+inline float    exp2(double x) { return std::pow((double)2, double(x)); }
 inline int     fchop( float f ) { return (int) f; }    // replace w/ inline 
asm if desired
 inline int     frnd(float f) { return fchop(f + 0.5f); }       // replace with 
inline asm if desired
 




reply via email to

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