2005-08-31 J"orn Rennecke <joern.rennecke@st.com>
[official-gcc.git] / libgfortran / c99_protos.h
bloba42380de6708f502d11f2d667f3180346a65d2a1
1 /* Declarations of various C99 functions
2 Copyright (C) 2004 Free Software Foundation, Inc.
4 This file is part of the GNU Fortran 95 runtime library (libgfortran).
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.
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.
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., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA. */
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. */
29 #ifndef C99_PROTOS_H
30 #define C99_PROTOS_H
32 #ifndef HAVE_ACOSF
33 extern float acosf(float);
34 #endif
36 #ifndef HAVE_ACOSHF
37 extern float acoshf(float);
38 #endif
40 #ifndef HAVE_ASINF
41 extern float asinf(float);
42 #endif
44 #ifndef HAVE_ASINHF
45 extern float asinhf(float);
46 #endif
48 #ifndef HAVE_ATAN2F
49 extern float atan2f(float, float);
50 #endif
52 #ifndef HAVE_ATANF
53 extern float atanf(float);
54 #endif
56 #ifndef HAVE_ATANHF
57 extern float atanhf(float);
58 #endif
60 #ifndef HAVE_CEILF
61 extern float ceilf(float);
62 #endif
64 #ifndef HAVE_COPYSIGNF
65 extern float copysignf(float, float);
66 #endif
68 #ifndef HAVE_COSF
69 extern float cosf(float);
70 #endif
72 #ifndef HAVE_COSHF
73 extern float coshf(float);
74 #endif
76 #ifndef HAVE_EXPF
77 extern float expf(float);
78 #endif
80 #ifndef HAVE_FABSF
81 extern float fabsf(float);
82 #endif
84 #ifndef HAVE_FLOORF
85 extern float floorf(float);
86 #endif
88 #ifndef HAVE_FREXPF
89 extern float frexpf(float, int *);
90 #endif
92 #ifndef HAVE_HYPOTF
93 extern float hypotf(float, float);
94 #endif
96 #ifndef HAVE_LOGF
97 extern float logf(float);
98 #endif
100 #ifndef HAVE_LOG10F
101 extern float log10f(float);
102 #endif
104 #ifndef HAVE_SCALBN
105 extern double scalbn(double, int);
106 #endif
108 #ifndef HAVE_SCALBNF
109 extern float scalbnf(float, int);
110 #endif
112 #ifndef HAVE_SINF
113 extern float sinf(float);
114 #endif
116 #ifndef HAVE_SINHF
117 extern float sinhf(float);
118 #endif
120 #ifndef HAVE_SQRTF
121 extern float sqrtf(float);
122 #endif
124 #ifndef HAVE_TANF
125 extern float tanf(float);
126 #endif
128 #ifndef HAVE_TANHF
129 extern float tanhf(float);
130 #endif
132 #ifndef HAVE_TRUNC
133 extern double trunc(double x);
134 #endif
136 #ifndef HAVE_TRUNCF
137 extern float truncf(float x);
138 #endif
140 #ifndef HAVE_NEXTAFTERF
141 extern float nextafterf(float, float);
142 #endif
144 #ifndef HAVE_POWF
145 extern float powf(float, float);
146 #endif
148 #ifndef HAVE_ROUND
149 extern double round(double);
150 #endif
152 #ifndef HAVE_ROUNDF
153 extern float roundf(float);
154 #endif
156 #ifndef HAVE_LOG10L
157 extern long double log10l(long double);
158 #endif
160 #endif /* C99_PROTOS_H */