00001 /* 00002 * mtk - Maths Toolkit for X11 00003 * 00004 * Copyright 1994-1997 andrewr@chiark.greenend.org.uk (Andrew Ross) 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 ********/ 00020 00021 #ifndef _MOREMATH 00022 #define _MOREMATH 00023 00024 #define EINEXACT 100 00025 #define EDIVZERO 101 00026 00027 double factorial(double); 00028 double combination(double,double); 00029 double permutation(double,double); 00030 double integ(double); 00031 double frac(double); 00032 double step(double); 00033 double sec(double); 00034 double cosec(double); 00035 double cot(double); 00036 00037 double ansi_asinh(double); 00038 double ansi_acosh(double); 00039 double ansi_atanh(double); 00040 double ansi_lgamma(double); 00041 double ansi_jn(int,double); 00042 double ansi_erf(double); 00043 double ansi_erfc(double); 00044 00045 #endif