|
||||
File indexing completed on 2025-01-18 10:00:59
0001 /* gsl_precision.h 0002 * 0003 * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman 0004 * 0005 * This program is free software; you can redistribute it and/or modify 0006 * it under the terms of the GNU General Public License as published by 0007 * the Free Software Foundation; either version 3 of the License, or (at 0008 * your option) any later version. 0009 * 0010 * This program is distributed in the hope that it will be useful, but 0011 * WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 * General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU General Public License 0016 * along with this program; if not, write to the Free Software 0017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0018 */ 0019 0020 /* Author: B. Gough and G. Jungman */ 0021 0022 #ifndef __GSL_PRECISION_H__ 0023 #define __GSL_PRECISION_H__ 0024 #include <gsl/gsl_types.h> 0025 0026 #undef __BEGIN_DECLS 0027 #undef __END_DECLS 0028 #ifdef __cplusplus 0029 # define __BEGIN_DECLS extern "C" { 0030 # define __END_DECLS } 0031 #else 0032 # define __BEGIN_DECLS /* empty */ 0033 # define __END_DECLS /* empty */ 0034 #endif 0035 0036 __BEGIN_DECLS 0037 0038 0039 /* A type for the precision indicator. 0040 * This is mainly for pedagogy. 0041 */ 0042 typedef unsigned int gsl_prec_t; 0043 0044 0045 /* The number of precision types. 0046 * Remember that precision-mode 0047 * can index an array. 0048 */ 0049 #define _GSL_PREC_T_NUM 3 0050 0051 0052 /* Arrays containing derived 0053 * precision constants for the 0054 * different precision levels. 0055 */ 0056 GSL_VAR const double gsl_prec_eps[]; 0057 GSL_VAR const double gsl_prec_sqrt_eps[]; 0058 GSL_VAR const double gsl_prec_root3_eps[]; 0059 GSL_VAR const double gsl_prec_root4_eps[]; 0060 GSL_VAR const double gsl_prec_root5_eps[]; 0061 GSL_VAR const double gsl_prec_root6_eps[]; 0062 0063 0064 __END_DECLS 0065 0066 #endif /* __GSL_PRECISION_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |