mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
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:
parent
98bf1695c1
commit
d3f7349692
3 changed files with 7 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue