pow is total overkill for x*x, introduce pow2 inline function to fix it.

fix a warning.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2323 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard committed 2009-02-20 22:17:26 +00:00
1 parent 98bf1695c1
commit d3f7349692
3 files changed
+7 -3

No files matched your search

+3
View File
@@ -27,6 +27,9 @@
uses round towards zero.
*/
inline float pow2f(float x) {return x * x;}
inline double pow2(double x) {return x * x;}
void SaveSSEState();
void LoadSSEState();
void LoadDefaultSSEState();