Merge reload-branch up to revision 101000
[official-gcc.git] / libgfortran / c99_protos.h
blob4deb25ceed13f2bc0fd9ed2445a27a58cee5595c
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., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, 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_ASINF
37 extern float asinf(float);
38 #endif
40 #ifndef HAVE_ATAN2F
41 extern float atan2f(float, float);
42 #endif
44 #ifndef HAVE_ATANF
45 extern float atanf(float);
46 #endif
48 #ifndef HAVE_CEILF
49 extern float ceilf(float);
50 #endif
52 #ifndef HAVE_COPYSIGNF
53 extern float copysignf(float, float);
54 #endif
56 #ifndef HAVE_COSF
57 extern float cosf(float);
58 #endif
60 #ifndef HAVE_COSHF
61 extern float coshf(float);
62 #endif
64 #ifndef HAVE_EXPF
65 extern float expf(float);
66 #endif
68 #ifndef HAVE_FABSF
69 extern float fabsf(float);
70 #endif
72 #ifndef HAVE_FLOORF
73 extern float floorf(float);
74 #endif
76 #ifndef HAVE_FREXPF
77 extern float frexpf(float, int *);
78 #endif
80 #ifndef HAVE_HYPOTF
81 extern float hypotf(float, float);
82 #endif
84 #ifndef HAVE_LOGF
85 extern float logf(float);
86 #endif
88 #ifndef HAVE_LOG10F
89 extern float log10f(float);
90 #endif
92 #ifndef HAVE_SCALBN
93 extern double scalbn(double, int);
94 #endif
96 #ifndef HAVE_SCALBNF
97 extern float scalbnf(float, int);
98 #endif
100 #ifndef HAVE_SINF
101 extern float sinf(float);
102 #endif
104 #ifndef HAVE_SINHF
105 extern float sinhf(float);
106 #endif
108 #ifndef HAVE_SQRTF
109 extern float sqrtf(float);
110 #endif
112 #ifndef HAVE_TANF
113 extern float tanf(float);
114 #endif
116 #ifndef HAVE_TANHF
117 extern float tanhf(float);
118 #endif
120 #ifndef HAVE_TRUNC
121 extern double trunc(double x);
122 #endif
124 #ifndef HAVE_TRUNCF
125 extern float truncf(float x);
126 #endif
128 #ifndef HAVE_NEXTAFTERF
129 extern float nextafterf(float, float);
130 #endif
132 #ifndef HAVE_POWF
133 extern float powf(float, float);
134 #endif
136 #ifndef HAVE_ROUND
137 extern double round(double);
138 #endif
140 #ifndef HAVE_ROUNDF
141 extern float roundf(float);
142 #endif
144 #endif /* C99_PROTOS_H */