OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / libgfortran / c99_protos.h
1 /* Declarations of various C99 functions 
2    Copyright (C) 2004 Free Software Foundation, Inc.
3
4 This file is part of the GNU Fortran 95 runtime library (libgfortran).
5
6 Libgfortran is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10
11 Libgfortran is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public
17 License along with libgfortran; see the file COPYING.LIB.  If not,
18 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* As a special exception, if you link this library with other files,
22    some of which are compiled with GCC, to produce an executable,
23    this library does not by itself cause the resulting executable
24    to be covered by the GNU General Public License.
25    This exception does not however invalidate any other reasons why
26    the executable file might be covered by the GNU General Public License.  */
27
28
29 #ifndef C99_PROTOS_H
30 #define C99_PROTOS_H
31
32 #ifndef HAVE_ACOSF
33 extern float acosf(float);
34 #endif
35
36 #ifndef HAVE_ACOSHF
37 extern float acoshf(float);
38 #endif
39
40 #ifndef HAVE_ASINF
41 extern float asinf(float);
42 #endif
43
44 #ifndef HAVE_ASINHF
45 extern float asinhf(float);
46 #endif
47
48 #ifndef HAVE_ATAN2F
49 extern float atan2f(float, float);
50 #endif
51
52 #ifndef HAVE_ATANF
53 extern float atanf(float);
54 #endif
55
56 #ifndef HAVE_ATANHF
57 extern float atanhf(float);
58 #endif
59
60 #ifndef HAVE_CEILF
61 extern float ceilf(float);
62 #endif
63
64 #ifndef HAVE_COPYSIGNF
65 extern float copysignf(float, float);
66 #endif
67
68 #ifndef HAVE_COSF
69 extern float cosf(float);
70 #endif
71
72 #ifndef HAVE_COSHF
73 extern float coshf(float);
74 #endif
75
76 #ifndef HAVE_EXPF
77 extern float expf(float);
78 #endif
79
80 #ifndef HAVE_FABSF
81 extern float fabsf(float);
82 #endif
83
84 #ifndef HAVE_FLOORF
85 extern float floorf(float);
86 #endif
87
88 #ifndef HAVE_FREXPF
89 extern float frexpf(float, int *);
90 #endif
91
92 #ifndef HAVE_HYPOTF
93 extern float hypotf(float, float);
94 #endif
95
96 #ifndef HAVE_LOGF
97 extern float logf(float);
98 #endif
99
100 #ifndef HAVE_LOG10F
101 extern float log10f(float);
102 #endif
103
104 #ifndef HAVE_SCALBN
105 extern double scalbn(double, int);
106 #endif
107
108 #ifndef HAVE_SCALBNF
109 extern float scalbnf(float, int);
110 #endif
111
112 #ifndef HAVE_SINF
113 extern float sinf(float);
114 #endif
115
116 #ifndef HAVE_SINHF
117 extern float sinhf(float);
118 #endif
119
120 #ifndef HAVE_SQRTF
121 extern float sqrtf(float);
122 #endif
123
124 #ifndef HAVE_TANF
125 extern float tanf(float);
126 #endif
127
128 #ifndef HAVE_TANHF
129 extern float tanhf(float);
130 #endif
131
132 #ifndef HAVE_TRUNC
133 extern double trunc(double x);
134 #endif
135
136 #ifndef HAVE_TRUNCF
137 extern float truncf(float x);
138 #endif
139
140 #ifndef HAVE_NEXTAFTERF
141 extern float nextafterf(float, float);
142 #endif
143
144 #ifndef HAVE_POWF
145 extern float powf(float, float);
146 #endif
147
148 #ifndef HAVE_ROUND
149 extern double round(double);
150 #endif
151
152 #ifndef HAVE_ROUNDF
153 extern float roundf(float);
154 #endif
155
156 #ifndef HAVE_LOG10L
157 extern long double log10l(long double);
158 #endif
159
160 #endif  /* C99_PROTOS_H  */
161