gsl_sys.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. #ifndef __GSL_SYS_H__
  20. #define __GSL_SYS_H__
  21. #undef __BEGIN_DECLS
  22. #undef __END_DECLS
  23. #ifdef __cplusplus
  24. # define __BEGIN_DECLS extern "C" {
  25. # define __END_DECLS }
  26. #else
  27. # define __BEGIN_DECLS /* empty */
  28. # define __END_DECLS /* empty */
  29. #endif
  30. __BEGIN_DECLS
  31. double gsl_log1p (const double x);
  32. double gsl_expm1 (const double x);
  33. double gsl_hypot (const double x, const double y);
  34. double gsl_hypot3 (const double x, const double y, const double z);
  35. double gsl_acosh (const double x);
  36. double gsl_asinh (const double x);
  37. double gsl_atanh (const double x);
  38. int gsl_isnan (const double x);
  39. int gsl_isinf (const double x);
  40. int gsl_finite (const double x);
  41. double gsl_nan (void);
  42. double gsl_posinf (void);
  43. double gsl_neginf (void);
  44. double gsl_fdiv (const double x, const double y);
  45. double gsl_coerce_double (const double x);
  46. float gsl_coerce_float (const float x);
  47. long double gsl_coerce_long_double (const long double x);
  48. double gsl_ldexp(const double x, const int e);
  49. double gsl_frexp(const double x, int * e);
  50. int gsl_fcmp (const double x1, const double x2, const double epsilon);
  51. __END_DECLS
  52. #endif /* __GSL_SYS_H__ */