diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-07 23:43:40 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-07 23:43:40 +0000 |
commit | 334f03a14c7ab0d59aac53345679b1f9f0c6242b (patch) | |
tree | 7397b8cae4794ec49536905235d48066a52a6dc3 /libgfortran/c99_protos.h | |
parent | 67225a62085350b09095dd386e8acb6107fed7b4 (diff) | |
download | gcc-334f03a14c7ab0d59aac53345679b1f9f0c6242b.tar.gz |
* configure.ac: Check for ieeefp.h. Check for fabsf in libm.
* configure: Regenerate.
* config.h.in: Likewise.
* c99_protos.h: New file.
* libgfortran.h: Include c99_protos.h and conditionally ieeefp.h.
* intrinsics/c99_functions.c (fabsf): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91832 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/c99_protos.h')
-rw-r--r-- | libgfortran/c99_protos.h | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/libgfortran/c99_protos.h b/libgfortran/c99_protos.h new file mode 100644 index 00000000000..18fc36bcb98 --- /dev/null +++ b/libgfortran/c99_protos.h @@ -0,0 +1,126 @@ +/* Declarations of various C99 functions + Copyright (C) 2004 Free Software Foundation, Inc. + +This file is part of the GNU Fortran 95 runtime library (libgfortran). + +Libgfortran is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +Libgfortran is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with libgfortran; see the file COPYING.LIB. If not, +write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + + +#ifndef C99_PROTOS_H +#define C99_PROTOS_H + +#ifndef HAVE_ACOSF +extern float acosf(float); +#endif + +#ifndef HAVE_ASINF +extern float asinf(float); +#endif + +#ifndef HAVE_ATAN2F +extern float atan2f(float, float); +#endif + +#ifndef HAVE_ATANF +extern float atanf(float); +#endif + +#ifndef HAVE_CEILF +extern float ceilf(float); +#endif + +#ifndef HAVE_COPYSIGNF +extern float copysignf(float, float); +#endif + +#ifndef HAVE_COSF +extern float cosf(float); +#endif + +#ifndef HAVE_COSHF +extern float coshf(float); +#endif + +#ifndef HAVE_EXPF +extern float expf(float); +#endif + +#ifndef HAVE_FABSF +extern float fabsf(float); +#endif + +#ifndef HAVE_FLOORF +extern float floorf(float); +#endif + +#ifndef HAVE_FREXPF +extern float frexpf(float, int *); +#endif + +#ifndef HAVE_HYPOTF +extern float hypotf(float, float); +#endif + +#ifndef HAVE_LOGF +extern float logf(float); +#endif + +#ifndef HAVE_LOG10F +extern float log10f(float); +#endif + +#ifndef HAVE_SCALBNF +extern float scalbnf(float, int); +#endif + +#ifndef HAVE_SINF +extern float sinf(float); +#endif + +#ifndef HAVE_SINHF +extern float sinhf(float); +#endif + +#ifndef HAVE_SQRTF +extern float sqrtf(float); +#endif + +#ifndef HAVE_TANF +extern float tanf(float); +#endif + +#ifndef HAVE_TANHF +extern float tanhf(float); +#endif + +#ifndef HAVE_NEXTAFTERF +extern float nextafterf(float, float); +#endif + +#ifndef HAVE_POWF +extern float powf(float, float); +#endif + +#ifndef HAVE_ROUND +extern double round(double); +#endif + +#ifndef HAVE_ROUNDF +extern float roundf(float); +#endif + +#endif /* C99_PROTOS_H */ + |