| 1 | #cxx . . $ `<file>/dwsys/NUMmachar.h`/ifndef _NUMmachar_h_ |
| 2 | #define _NUMmachar_h_cxx . . $ `dwsys/NUMmachar.h:2:9`! |
| 3 | /* NUMmachar.h |
| 4 | * |
| 5 | * Copyright (C) 1994-2011 David Weenink |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | /* |
| 22 | djmw 20020812 GPL header |
| 23 | djmw 20110308 Latest modification |
| 24 | */ |
| 25 | |
| 26 | struct structmachar_Tablecxx . . $ structmachar_Table# |
| 27 | { |
| 28 | int basecxx . . $ structmachar_Table#base.; /* Radix in which numbers are presented. */ |
| 29 | int tcxx . . $ structmachar_Table#t.; /* Number of base digits in mantissa*/ |
| 30 | int emincxx . . $ structmachar_Table#emin.; /* Minimum exponent before (gradual) underflow */ |
| 31 | int emaxcxx . . $ structmachar_Table#emax.; /* Largest exponent before overflow */ |
| 32 | int rndcxx . . $ structmachar_Table#rnd.; /* 1 when rounding occurs in addition, 0 otherwise */ |
| 33 | double preccxx . . $ structmachar_Table#prec.; /* Quantization step (eps*base) */ |
| 34 | double epscxx . . $ structmachar_Table#eps.; /* Quantization error (relative machine precision) */ |
| 35 | double rmincxx . . $ structmachar_Table#rmin.; /* Underflow threshold - base**(emin-1) */ |
| 36 | double sfmincxx . . $ structmachar_Table#sfmin.; /* Safe minimum, such that 1/sfmin does not overflow */ |
| 37 | double rmaxcxx . . $ structmachar_Table#rmax.; /* Overflow threshold - (base**emax)*(1-eps)*/ |
| 38 | }; |
| 39 | |
| 40 | typedef struct structmachar_Tablecxx . . $ structmachar_Table# *machar_Tablecxx . . $ machar_Table#; |
| 41 | |
| 42 | inline machar_Tablecxx . . $ machar_Table# NUMfppcxx . . $ NUMfpp. = nullptr; |
| 43 | |
| 44 | void NUMmacharcxx . . $ NUMmachar(49f6e7a06ebc5aa8). (); |
| 45 | |
| 46 | #endif /* _NUMmachar_h_ */ |