diff options
Diffstat (limited to 'baseline/source/susan/wcclibm.h')
| -rw-r--r-- | baseline/source/susan/wcclibm.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/baseline/source/susan/wcclibm.h b/baseline/source/susan/wcclibm.h deleted file mode 100644 index bcf4c65..0000000 --- a/baseline/source/susan/wcclibm.h +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | #ifndef _WCCLIBM | ||
| 2 | #define _WCCLIBM | ||
| 3 | |||
| 4 | #define int32_t int | ||
| 5 | #define uint32_t unsigned int | ||
| 6 | #define u_int16_t unsigned short | ||
| 7 | #define u_int32_t unsigned int | ||
| 8 | |||
| 9 | // Often used variables/consts | ||
| 10 | #ifdef __STDC__ | ||
| 11 | static const float | ||
| 12 | #else | ||
| 13 | static float | ||
| 14 | #endif | ||
| 15 | susan_one = 1.0f, | ||
| 16 | susan_half = 5.0000000000e-01f, /* 0x3f000000 */ | ||
| 17 | susan_zero = 0.0f, | ||
| 18 | susan_huge = 1.0e30, | ||
| 19 | susan_two8 = 2.5600000000e+02f, /* 0x43800000 */ | ||
| 20 | susan_twon8 = 3.9062500000e-03f; /* 0x3b800000 */ | ||
| 21 | |||
| 22 | // The following defines map the math functions to specialized calls | ||
| 23 | #define acos susan___ieee754_acosf | ||
| 24 | #define atan susan___atanf | ||
| 25 | #define cos susan___cosf | ||
| 26 | #define fabs susan___fabsf | ||
| 27 | #define fabsf susan___fabsf | ||
| 28 | #define isinf susan___isinff | ||
| 29 | #define pow susan___ieee754_powf | ||
| 30 | #define sqrt susan___ieee754_sqrtf | ||
| 31 | #define log10 susan___ieee754_log10f | ||
| 32 | #define log susan___ieee754_logf | ||
| 33 | #define sin susan___sinf | ||
| 34 | |||
| 35 | float susan___atanf(float x); | ||
| 36 | float susan___copysignf(float x, float y); | ||
| 37 | float susan___cosf(float x); | ||
| 38 | float susan___fabsf(float x); | ||
| 39 | float susan___floorf(float x); | ||
| 40 | float susan___ieee754_acosf(float x); | ||
| 41 | float susan___ieee754_powf(float x, float y); | ||
| 42 | int32_t susan___ieee754_rem_pio2f(float x, float *y); | ||
| 43 | float susan___ieee754_sqrtf(float x); | ||
| 44 | int susan___isinff (float x); | ||
| 45 | float susan___kernel_cosf(float x, float y); | ||
| 46 | float susan___kernel_sinf(float x, float y, int iy); | ||
| 47 | int susan___kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32_t *ipio2); | ||
| 48 | float susan___scalbnf (float x, int n); | ||
| 49 | float susan___ieee754_logf(float x); | ||
| 50 | float susan___ieee754_log10f(float x); | ||
| 51 | float susan___sinf(float x); | ||
| 52 | |||
| 53 | #endif // _WCCLIBM | ||
