]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgfortran/c99_protos.h
re PR libstdc++/22109 (/home/dave/opt/gnu/bin/ld: BFD 2.16.91 20050612 internal error)
[thirdparty/gcc.git] / libgfortran / c99_protos.h
CommitLineData
6e4d9244
EB
1/* Declarations of various C99 functions
2 Copyright (C) 2004 Free Software Foundation, Inc.
3
4This file is part of the GNU Fortran 95 runtime library (libgfortran).
5
6Libgfortran is free software; you can redistribute it and/or
7modify it under the terms of the GNU Lesser General Public
8License as published by the Free Software Foundation; either
9version 2.1 of the License, or (at your option) any later version.
10
11Libgfortran is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Lesser General Public License for more details.
15
16You should have received a copy of the GNU Lesser General Public
17License along with libgfortran; see the file COPYING.LIB. If not,
18write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
57dea9f6
TM
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
6e4d9244
EB
28
29#ifndef C99_PROTOS_H
30#define C99_PROTOS_H
31
32#ifndef HAVE_ACOSF
33extern float acosf(float);
34#endif
35
36#ifndef HAVE_ASINF
37extern float asinf(float);
38#endif
39
40#ifndef HAVE_ATAN2F
41extern float atan2f(float, float);
42#endif
43
44#ifndef HAVE_ATANF
45extern float atanf(float);
46#endif
47
48#ifndef HAVE_CEILF
49extern float ceilf(float);
50#endif
51
52#ifndef HAVE_COPYSIGNF
53extern float copysignf(float, float);
54#endif
55
56#ifndef HAVE_COSF
57extern float cosf(float);
58#endif
59
60#ifndef HAVE_COSHF
61extern float coshf(float);
62#endif
63
64#ifndef HAVE_EXPF
65extern float expf(float);
66#endif
67
68#ifndef HAVE_FABSF
69extern float fabsf(float);
70#endif
71
72#ifndef HAVE_FLOORF
73extern float floorf(float);
74#endif
75
76#ifndef HAVE_FREXPF
77extern float frexpf(float, int *);
78#endif
79
80#ifndef HAVE_HYPOTF
81extern float hypotf(float, float);
82#endif
83
84#ifndef HAVE_LOGF
85extern float logf(float);
86#endif
87
88#ifndef HAVE_LOG10F
89extern float log10f(float);
90#endif
91
ae973d6a
FXC
92#ifndef HAVE_SCALBN
93extern double scalbn(double, int);
94#endif
95
6e4d9244
EB
96#ifndef HAVE_SCALBNF
97extern float scalbnf(float, int);
98#endif
99
100#ifndef HAVE_SINF
101extern float sinf(float);
102#endif
103
104#ifndef HAVE_SINHF
105extern float sinhf(float);
106#endif
107
108#ifndef HAVE_SQRTF
109extern float sqrtf(float);
110#endif
111
112#ifndef HAVE_TANF
113extern float tanf(float);
114#endif
115
116#ifndef HAVE_TANHF
117extern float tanhf(float);
118#endif
119
69a2d125
EB
120#ifndef HAVE_TRUNC
121extern double trunc(double x);
122#endif
123
124#ifndef HAVE_TRUNCF
125extern float truncf(float x);
126#endif
127
6e4d9244
EB
128#ifndef HAVE_NEXTAFTERF
129extern float nextafterf(float, float);
130#endif
131
132#ifndef HAVE_POWF
133extern float powf(float, float);
134#endif
135
136#ifndef HAVE_ROUND
137extern double round(double);
138#endif
139
140#ifndef HAVE_ROUNDF
141extern float roundf(float);
142#endif
143
144#endif /* C99_PROTOS_H */
145