gcc/libgfortran/c99_protos.h
Eric Botcazou 69a2d125d6 configure.ac: Check for trunc and truncf in libm.
* configure.ac: Check for trunc and truncf in libm.
	* configure: Regenerate.
	* config.h.in: Likewise.
	* intrinsics/c99_functions.c (trunc, truncf): New functions.
	* c99_protos.h (trunc, truncf): Declare them.

From-SVN: r100040
2005-05-21 06:44:50 +00:00

142 lines
2.8 KiB
C

/* 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. */
/* As a special exception, if you link this library with other files,
some of which are compiled with GCC, to produce an executable,
this library does not by itself cause the resulting executable
to be covered by the GNU General Public License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */
#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_TRUNC
extern double trunc(double x);
#endif
#ifndef HAVE_TRUNCF
extern float truncf(float x);
#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 */