OSDN Git Service

b8cc7406ac21b8e41ccd806366e8db1ce6b1f536
[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_ASINF
37 extern float asinf(float);
38 #endif
39
40 #ifndef HAVE_ATAN2F
41 extern float atan2f(float, float);
42 #endif
43
44 #ifndef HAVE_ATANF
45 extern float atanf(float);
46 #endif
47
48 #ifndef HAVE_CEILF
49 extern float ceilf(float);
50 #endif
51
52 #ifndef HAVE_COPYSIGNF
53 extern float copysignf(float, float);
54 #endif
55
56 #ifndef HAVE_COSF
57 extern float cosf(float);
58 #endif
59
60 #ifndef HAVE_COSHF
61 extern float coshf(float);
62 #endif
63
64 #ifndef HAVE_EXPF
65 extern float expf(float);
66 #endif
67
68 #ifndef HAVE_FABSF
69 extern float fabsf(float);
70 #endif
71
72 #ifndef HAVE_FLOORF
73 extern float floorf(float);
74 #endif
75
76 #ifndef HAVE_FREXPF
77 extern float frexpf(float, int *);
78 #endif
79
80 #ifndef HAVE_HYPOTF
81 extern float hypotf(float, float);
82 #endif
83
84 #ifndef HAVE_LOGF
85 extern float logf(float);
86 #endif
87
88 #ifndef HAVE_LOG10F
89 extern float log10f(float);
90 #endif
91
92 #ifndef HAVE_SCALBN
93 extern double scalbn(double, int);
94 #endif
95
96 #ifndef HAVE_SCALBNF
97 extern float scalbnf(float, int);
98 #endif
99
100 #ifndef HAVE_SINF
101 extern float sinf(float);
102 #endif
103
104 #ifndef HAVE_SINHF
105 extern float sinhf(float);
106 #endif
107
108 #ifndef HAVE_SQRTF
109 extern float sqrtf(float);
110 #endif
111
112 #ifndef HAVE_TANF
113 extern float tanf(float);
114 #endif
115
116 #ifndef HAVE_TANHF
117 extern float tanhf(float);
118 #endif
119
120 #ifndef HAVE_TRUNC
121 extern double trunc(double x);
122 #endif
123
124 #ifndef HAVE_TRUNCF
125 extern float truncf(float x);
126 #endif
127
128 #ifndef HAVE_NEXTAFTERF
129 extern float nextafterf(float, float);
130 #endif
131
132 #ifndef HAVE_POWF
133 extern float powf(float, float);
134 #endif
135
136 #ifndef HAVE_ROUND
137 extern double round(double);
138 #endif
139
140 #ifndef HAVE_ROUNDF
141 extern float roundf(float);
142 #endif
143
144 #ifndef HAVE_LOG10L
145 extern long double log10l(long double);
146 #endif
147
148 #endif  /* C99_PROTOS_H  */
149