Minor fixes

This commit is contained in:
iabdalkader 2014-09-11 05:52:43 +02:00
parent 649344c40c
commit 44669573ce
2 changed files with 5 additions and 5 deletions

View File

@ -6,10 +6,10 @@
#define M_PI_4 0.78539816f #define M_PI_4 0.78539816f
const float __atanf_lut[4] = { const float __atanf_lut[4] = {
-0.0443265554792128, //p7 -0.0443265554792128f, //p7
-0.3258083974640975, //p3 -0.3258083974640975f, //p3
+0.1555786518463281, //p5 +0.1555786518463281f, //p5
+0.9997878412794807 //p1 +0.9997878412794807f //p1
}; };
float ALWAYS_INLINE fast_sqrtf(float x) float ALWAYS_INLINE fast_sqrtf(float x)

View File

@ -6,7 +6,7 @@ int fast_floorf(float x);
int fast_ceilf(float x); int fast_ceilf(float x);
int fast_roundf(float x); int fast_roundf(float x);
float fast_atanf(float x); float fast_atanf(float x);
float fast_atan2f(float x, float y); float fast_atan2f(float y, float x);
float fast_expf(float x); float fast_expf(float x);
float fast_cbrtf(float d); float fast_cbrtf(float d);
float fast_fabsf(float d); float fast_fabsf(float d);