1 /* floatexp.h: exponential function and friends, based on floatnum. */ 2 /* 3 Copyright (C) 2007, 2008 Wolf Lammen. 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 2 of the License , or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU 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; see the file COPYING. If not, write to: 17 18 The Free Software Foundation, Inc. 19 59 Temple Place, Suite 330 20 Boston, MA 02111-1307 USA. 21 22 23 You may contact the author by: 24 e-mail: ookami1 <at> gmx <dot> de 25 mail: Wolf Lammen 26 Oertzweg 45 27 22307 Hamburg 28 Germany 29 30 *************************************************************************/ 31 32 #ifndef FLOATEXP_H 33 # define FLOATEXP_H 34 35 #include "floatnum.h" 36 37 #ifdef __cplusplus 38 extern "C" { 39 #endif 40 41 char _coshminus1lt1(floatnum x, int digits); 42 void _sinhlt1(floatnum x, int digits); 43 void _expminus1lt1(floatnum x, int digits); 44 void _expltln10(floatnum x, int digits); 45 char _exp(floatnum x, int digits); 46 char _expminus1(floatnum x, int digits); 47 char _coshminus1(floatnum x, int digits); 48 void _tanhlt0_5(floatnum x, int digits); 49 char _tanhminus1gt0(floatnum x, int digits); 50 char _sinh(floatnum x, int digits); 51 void _tanhgt0_5(floatnum x, int digits); 52 char _power10(floatnum exponent, int digits); 53 54 #ifdef __cplusplus 55 } 56 #endif 57 58 #endif /* FLOATEXP_H */ 59