diff options
Diffstat (limited to 'baseline/source/fmref/wcclibm.h')
| -rw-r--r-- | baseline/source/fmref/wcclibm.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/baseline/source/fmref/wcclibm.h b/baseline/source/fmref/wcclibm.h deleted file mode 100644 index c00738b..0000000 --- a/baseline/source/fmref/wcclibm.h +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | #ifndef _WCCLIBM | ||
| 2 | #define _WCCLIBM | ||
| 3 | |||
| 4 | #define size_x unsigned long | ||
| 5 | #define int32_t int | ||
| 6 | #define uint32_t unsigned int | ||
| 7 | #define u_int16_t unsigned short | ||
| 8 | #define u_int32_t unsigned int | ||
| 9 | |||
| 10 | // Often used variables/consts | ||
| 11 | #ifdef __STDC__ | ||
| 12 | static const float | ||
| 13 | #else | ||
| 14 | static float | ||
| 15 | #endif | ||
| 16 | fmref_one = 1.0f, | ||
| 17 | fmref_half = 5.0000000000e-01f, /* 0x3f000000 */ | ||
| 18 | fmref_zero = 0.0f, | ||
| 19 | fmref_huge = 1.0e30, | ||
| 20 | fmref_two8 = 2.5600000000e+02f, /* 0x43800000 */ | ||
| 21 | fmref_twon8 = 3.9062500000e-03f; /* 0x3b800000 */ | ||
| 22 | |||
| 23 | // The following defines map the math functions to specialized calls | ||
| 24 | #define acos fmref___ieee754_acosf | ||
| 25 | #define atan fmref___atanf | ||
| 26 | #define cos fmref___cosf | ||
| 27 | #define fabs fmref___fabsf | ||
| 28 | #define fabsf fmref___fabsf | ||
| 29 | #define isinf fmref___isinff | ||
| 30 | #define pow fmref___ieee754_powf | ||
| 31 | #define sqrt fmref___ieee754_sqrtf | ||
| 32 | #define log10 fmref___ieee754_log10f | ||
| 33 | #define log fmref___ieee754_logf | ||
| 34 | #define sin fmref___sinf | ||
| 35 | |||
| 36 | float fmref___atanf(float x); | ||
| 37 | float fmref___copysignf(float x, float y); | ||
| 38 | float fmref___cosf(float x); | ||
| 39 | float fmref___fabsf(float x); | ||
| 40 | float fmref___floorf(float x); | ||
| 41 | float fmref___ieee754_acosf(float x); | ||
| 42 | float fmref___ieee754_powf(float x, float y); | ||
| 43 | int32_t fmref___ieee754_rem_pio2f(float x, float *y); | ||
| 44 | float fmref___ieee754_sqrtf(float x); | ||
| 45 | int fmref___isinff (float x); | ||
| 46 | float fmref___kernel_cosf(float x, float y); | ||
| 47 | float fmref___kernel_sinf(float x, float y, int iy); | ||
| 48 | int fmref___kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32_t *ipio2); | ||
| 49 | float fmref___scalbnf (float x, int n); | ||
| 50 | float fmref___ieee754_logf(float x); | ||
| 51 | float fmref___ieee754_log10f(float x); | ||
| 52 | float fmref___sinf(float x); | ||
| 53 | |||
| 54 | #endif // _WCCLIBM | ||
