SpeedCrunch  0.11
/usr/src/RPM/BUILD/speedcrunch-0.11/src/math/floatconst.h
Go to the documentation of this file.
00001 /* floatconst.h: constants for higher math functions */
00002 /*
00003     Copyright (C) 2007, 2008 Wolf Lammen.
00004 
00005     This program is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License , or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program; see the file COPYING.  If not, write to:
00017 
00018       The Free Software Foundation, Inc.
00019       59 Temple Place, Suite 330
00020       Boston, MA 02111-1307 USA.
00021 
00022 
00023     You may contact the author by:
00024        e-mail:  ookami1 <at> gmx <dot> de
00025        mail:  Wolf Lammen
00026               Oertzweg 45
00027               22307 Hamburg
00028               Germany
00029 
00030 *************************************************************************/
00031 
00032 #ifndef FLOATCONST_H
00033 #define FLOATCONST_H
00034 
00035 #include "floatnum.h"
00036 
00037 #define MAXBERNOULLIIDX 68
00038 #define MAXERFCIDX 80
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00044 extern floatstruct c1;
00045 extern floatstruct c2;
00046 extern floatstruct c3;
00047 extern floatstruct c12;
00048 extern floatstruct cExp;
00049 extern floatstruct cMinus1;
00050 extern floatstruct cMinus20;
00051 extern floatstruct c1Div2;
00052 extern floatstruct cLn2;
00053 extern floatstruct cLn3;
00054 extern floatstruct cLn7;
00055 extern floatstruct cLn10;
00056 extern floatstruct cPhi;
00057 extern floatstruct cPi;
00058 extern floatstruct cPiDiv2;
00059 extern floatstruct cPiDiv4;
00060 extern floatstruct c2Pi;
00061 extern floatstruct c1DivPi;
00062 extern floatstruct cSqrtPi;
00063 extern floatstruct c1DivSqrtPi;
00064 extern floatstruct cLnSqrt2PiMinusHalf;
00065 extern floatstruct c2DivSqrtPi;
00066 extern floatstruct cMinus0_4;
00067 extern floatstruct cBernoulliNum[68];
00068 extern floatstruct cBernoulliDen[68];
00069 extern floatstruct cUnsignedBound;
00070 
00071 extern int erfcdigits;
00072 extern floatstruct erfccoeff[MAXERFCIDX];
00073 extern floatstruct erfcalpha;
00074 extern floatstruct erfcalphasqr;
00075 extern floatstruct erfct2;
00076 extern floatstruct erfct3;
00077 
00078 void floatmath_init();
00079 void floatmath_exit();
00080 
00081 #ifdef __cplusplus
00082 }
00083 #endif
00084 
00085 #endif /* FLOATCONST_H */