| 1 |
/* sys/gsl_sys.h |
| 2 |
* |
| 3 |
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough |
| 4 |
* |
| 5 |
* This program is free software; you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License as published by |
| 7 |
* the Free Software Foundation; either version 3 of the License, or (at |
| 8 |
* your option) any later version. |
| 9 |
* |
| 10 |
* This program is distributed in the hope that it will be useful, but |
| 11 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
* General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License |
| 16 |
* along with this program; if not, write to the Free Software |
| 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 18 |
*/ |
| 19 |
|
| 20 |
#ifndef __GSL_SYS_H__ |
| 21 |
#define __GSL_SYS_H__ |
| 22 |
|
| 23 |
#undef __BEGIN_DECLS |
| 24 |
#undef __END_DECLS |
| 25 |
#ifdef __cplusplus |
| 26 |
# define __BEGIN_DECLS extern "C" { |
| 27 |
# define __END_DECLS } |
| 28 |
#else |
| 29 |
# define __BEGIN_DECLS /* empty */ |
| 30 |
# define __END_DECLS /* empty */ |
| 31 |
#endif |
| 32 |
|
| 33 |
__BEGIN_DECLS |
| 34 |
|
| 35 |
double gsl_log1p (const double x); |
| 36 |
double gsl_expm1 (const double x); |
| 37 |
double gsl_hypot (const double x, const double y); |
| 38 |
double gsl_hypot3 (const double x, const double y, const double z); |
| 39 |
double gsl_acosh (const double x); |
| 40 |
double gsl_asinh (const double x); |
| 41 |
double gsl_atanh (const double x); |
| 42 |
|
| 43 |
int gsl_isnan (const double x); |
| 44 |
int gsl_isinf (const double x); |
| 45 |
int gsl_finite (const double x); |
| 46 |
|
| 47 |
double gsl_nan (void); |
| 48 |
double gsl_posinf (void); |
| 49 |
double gsl_neginf (void); |
| 50 |
double gsl_fdiv (const double x, const double y); |
| 51 |
|
| 52 |
double gsl_coerce_double (const double x); |
| 53 |
float gsl_coerce_float (const float x); |
| 54 |
long double gsl_coerce_long_double (const long double x); |
| 55 |
|
| 56 |
double gsl_ldexp(const double x, const int e); |
| 57 |
double gsl_frexp(const double x, int * e); |
| 58 |
|
| 59 |
int gsl_fcmp (const double x1, const double x2, const double epsilon); |
| 60 |
|
| 61 |
__END_DECLS |
| 62 |
|
| 63 |
#endif /* __GSL_SYS_H__ */ |