[444] | 1 | #ifdef __sysvnecv70_target |
---|
| 2 | double EXFUN(fast_sin,(double)); |
---|
| 3 | double EXFUN(fast_cos,(double)); |
---|
| 4 | double EXFUN(fast_tan,(double)); |
---|
| 5 | |
---|
| 6 | double EXFUN(fast_asin,(double)); |
---|
| 7 | double EXFUN(fast_acos,(double)); |
---|
| 8 | double EXFUN(fast_atan,(double)); |
---|
| 9 | |
---|
| 10 | double EXFUN(fast_sinh,(double)); |
---|
| 11 | double EXFUN(fast_cosh,(double)); |
---|
| 12 | double EXFUN(fast_tanh,(double)); |
---|
| 13 | |
---|
| 14 | double EXFUN(fast_asinh,(double)); |
---|
| 15 | double EXFUN(fast_acosh,(double)); |
---|
| 16 | double EXFUN(fast_atanh,(double)); |
---|
| 17 | |
---|
| 18 | double EXFUN(fast_abs,(double)); |
---|
| 19 | double EXFUN(fast_sqrt,(double)); |
---|
| 20 | double EXFUN(fast_exp2,(double)); |
---|
| 21 | double EXFUN(fast_exp10,(double)); |
---|
| 22 | double EXFUN(fast_expe,(double)); |
---|
| 23 | double EXFUN(fast_log10,(double)); |
---|
| 24 | double EXFUN(fast_log2,(double)); |
---|
| 25 | double EXFUN(fast_loge,(double)); |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | #define sin(x) fast_sin(x) |
---|
| 29 | #define cos(x) fast_cos(x) |
---|
| 30 | #define tan(x) fast_tan(x) |
---|
| 31 | #define asin(x) fast_asin(x) |
---|
| 32 | #define acos(x) fast_acos(x) |
---|
| 33 | #define atan(x) fast_atan(x) |
---|
| 34 | #define sinh(x) fast_sinh(x) |
---|
| 35 | #define cosh(x) fast_cosh(x) |
---|
| 36 | #define tanh(x) fast_tanh(x) |
---|
| 37 | #define asinh(x) fast_asinh(x) |
---|
| 38 | #define acosh(x) fast_acosh(x) |
---|
| 39 | #define atanh(x) fast_atanh(x) |
---|
| 40 | #define abs(x) fast_abs(x) |
---|
| 41 | #define sqrt(x) fast_sqrt(x) |
---|
| 42 | #define exp2(x) fast_exp2(x) |
---|
| 43 | #define exp10(x) fast_exp10(x) |
---|
| 44 | #define expe(x) fast_expe(x) |
---|
| 45 | #define log10(x) fast_log10(x) |
---|
| 46 | #define log2(x) fast_log2(x) |
---|
| 47 | #define loge(x) fast_loge(x) |
---|
| 48 | |
---|
| 49 | /* These functions are in assembler, they really do take floats. This |
---|
| 50 | can only be used with a real ANSI compiler */ |
---|
| 51 | |
---|
| 52 | float EXFUN(fast_sinf,(float)); |
---|
| 53 | float EXFUN(fast_cosf,(float)); |
---|
| 54 | float EXFUN(fast_tanf,(float)); |
---|
| 55 | |
---|
| 56 | float EXFUN(fast_asinf,(float)); |
---|
| 57 | float EXFUN(fast_acosf,(float)); |
---|
| 58 | float EXFUN(fast_atanf,(float)); |
---|
| 59 | |
---|
| 60 | float EXFUN(fast_sinhf,(float)); |
---|
| 61 | float EXFUN(fast_coshf,(float)); |
---|
| 62 | float EXFUN(fast_tanhf,(float)); |
---|
| 63 | |
---|
| 64 | float EXFUN(fast_asinhf,(float)); |
---|
| 65 | float EXFUN(fast_acoshf,(float)); |
---|
| 66 | float EXFUN(fast_atanhf,(float)); |
---|
| 67 | |
---|
| 68 | float EXFUN(fast_absf,(float)); |
---|
| 69 | float EXFUN(fast_sqrtf,(float)); |
---|
| 70 | float EXFUN(fast_exp2f,(float)); |
---|
| 71 | float EXFUN(fast_exp10f,(float)); |
---|
| 72 | float EXFUN(fast_expef,(float)); |
---|
| 73 | float EXFUN(fast_log10f,(float)); |
---|
| 74 | float EXFUN(fast_log2f,(float)); |
---|
| 75 | float EXFUN(fast_logef,(float)); |
---|
| 76 | #define sinf(x) fast_sinf(x) |
---|
| 77 | #define cosf(x) fast_cosf(x) |
---|
| 78 | #define tanf(x) fast_tanf(x) |
---|
| 79 | #define asinf(x) fast_asinf(x) |
---|
| 80 | #define acosf(x) fast_acosf(x) |
---|
| 81 | #define atanf(x) fast_atanf(x) |
---|
| 82 | #define sinhf(x) fast_sinhf(x) |
---|
| 83 | #define coshf(x) fast_coshf(x) |
---|
| 84 | #define tanhf(x) fast_tanhf(x) |
---|
| 85 | #define asinhf(x) fast_asinhf(x) |
---|
| 86 | #define acoshf(x) fast_acoshf(x) |
---|
| 87 | #define atanhf(x) fast_atanhf(x) |
---|
| 88 | #define absf(x) fast_absf(x) |
---|
| 89 | #define sqrtf(x) fast_sqrtf(x) |
---|
| 90 | #define exp2f(x) fast_exp2f(x) |
---|
| 91 | #define exp10f(x) fast_exp10f(x) |
---|
| 92 | #define expef(x) fast_expef(x) |
---|
| 93 | #define log10f(x) fast_log10f(x) |
---|
| 94 | #define log2f(x) fast_log2f(x) |
---|
| 95 | #define logef(x) fast_logef(x) |
---|
| 96 | /* Override the functions defined in math.h */ |
---|
| 97 | #endif /* __sysvnecv70_target */ |
---|
| 98 | |
---|