mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-03 11:11:25 +00:00
aba026f7e9
PR #16984 added more accurate versions of these functions, but they require large lookup tables stored in assets/. If these files are missing, PPSSPP would simply crash, which isn't good. We should probably try to warn the user somehow that these files are missing, though...
15 lines
482 B
C
15 lines
482 B
C
#pragma once
|
|
|
|
// These are our old implementation of VFPU math functions, that don't make use of the
|
|
// accuracy-improving tables from #16984.
|
|
|
|
float vfpu_asin_fallback(float angle);
|
|
float vfpu_sqrt_fallback(float a);
|
|
float vfpu_rsqrt_fallback(float a);
|
|
float vfpu_sin_fallback(float a);
|
|
float vfpu_cos_fallback(float a);
|
|
void vfpu_sincos_fallback(float a, float &s, float &c);
|
|
float vfpu_rcp_fallback(float x);
|
|
float vfpu_log2_fallback(float x);
|
|
float vfpu_exp2_fallback(float x);
|