OpenCores
URL https://opencores.org/ocsvn/altor32/altor32/trunk

Subversion Repositories altor32

[/] [altor32/] [trunk/] [gcc-x64/] [or1knd-elf/] [or1knd-elf/] [include/] [machine/] [fastmath.h] - Blame information for rev 35

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 35 ultra_embe
#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
#ifdef _HAVE_STDC
50
/* These functions are in assembler, they really do take floats. This
51
   can only be used with a real ANSI compiler */
52
 
53
float EXFUN(fast_sinf,(float));
54
float EXFUN(fast_cosf,(float));
55
float EXFUN(fast_tanf,(float));
56
 
57
float EXFUN(fast_asinf,(float));
58
float EXFUN(fast_acosf,(float));
59
float EXFUN(fast_atanf,(float));
60
 
61
float EXFUN(fast_sinhf,(float));
62
float EXFUN(fast_coshf,(float));
63
float EXFUN(fast_tanhf,(float));
64
 
65
float EXFUN(fast_asinhf,(float));
66
float EXFUN(fast_acoshf,(float));
67
float EXFUN(fast_atanhf,(float));
68
 
69
float EXFUN(fast_absf,(float));
70
float EXFUN(fast_sqrtf,(float));
71
float EXFUN(fast_exp2f,(float));
72
float EXFUN(fast_exp10f,(float));
73
float EXFUN(fast_expef,(float));
74
float EXFUN(fast_log10f,(float));
75
float EXFUN(fast_log2f,(float));
76
float EXFUN(fast_logef,(float));
77
#define sinf(x)         fast_sinf(x)
78
#define cosf(x)         fast_cosf(x)
79
#define tanf(x)         fast_tanf(x)
80
#define asinf(x)        fast_asinf(x)
81
#define acosf(x)        fast_acosf(x)
82
#define atanf(x)        fast_atanf(x)
83
#define sinhf(x)        fast_sinhf(x)
84
#define coshf(x)        fast_coshf(x)
85
#define tanhf(x)        fast_tanhf(x)
86
#define asinhf(x)       fast_asinhf(x)
87
#define acoshf(x)       fast_acoshf(x)
88
#define atanhf(x)       fast_atanhf(x)
89
#define absf(x)         fast_absf(x)
90
#define sqrtf(x)        fast_sqrtf(x)
91
#define exp2f(x)        fast_exp2f(x)
92
#define exp10f(x)       fast_exp10f(x)
93
#define expef(x)        fast_expef(x)
94
#define log10f(x)       fast_log10f(x)
95
#define log2f(x)        fast_log2f(x)
96
#define logef(x)        fast_logef(x)
97
#endif
98
/* Override the functions defined in math.h */
99
#endif /* __sysvnecv70_target */
100
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.