File indexing completed on 2024-05-12 17:22:36

0001 /* floattrig.h: trigonometry functions, based on floatnum. */
0002 /*
0003     Copyright (C) 2007, 2008 Wolf Lammen.
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 2 of the License , or
0008     (at your option) any later version.
0009 
0010     This program is distributed in the hope that it will be useful,
0011     but WITHOUT ANY WARRANTY; without even the implied warranty of
0012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013     GNU 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; see the file COPYING.  If not, write to:
0017 
0018       The Free Software Foundation, Inc.
0019       59 Temple Place, Suite 330
0020       Boston, MA 02111-1307 USA.
0021 
0022 
0023     You may contact the author by:
0024        e-mail:  ookami1 <at> gmx <dot> de
0025        mail:  Wolf Lammen
0026               Oertzweg 45
0027               22307 Hamburg
0028               Germany
0029 
0030 *************************************************************************/
0031 
0032 #ifndef FLOATTRIG_H
0033 # define FLOATTRIG_H
0034 
0035 #include "floatnum.h"
0036 
0037 #ifdef __cplusplus
0038 extern "C" {
0039 #endif
0040 
0041 void _arctanlt1(floatnum x, int digits);
0042 void _arctan(floatnum x, int digits);
0043 void _arccosxplus1lt0_5(floatnum x, int digits);
0044 void _arcsinlt0_5(floatnum x, int digits);
0045 void _arccos(floatnum x, int digits);
0046 void _arccosxplus1(floatnum x, int digits);
0047 void _arcsin(floatnum x, int digits);
0048 char _cosminus1ltPiDiv4(floatnum x, int digits);
0049 void _sinltPiDiv4(floatnum x, int digits);
0050 void _tanltPiDiv4(floatnum x, int digits);
0051 void _cos(floatnum x, int digits);
0052 void _sin(floatnum x, int digits);
0053 char _tan(floatnum x, int digits);
0054 char _cosminus1(floatnum x, int digits);
0055 char _trigreduce(floatnum x, int digits);
0056 void _sinpix(floatnum x, int digits);
0057 
0058 #ifdef __cplusplus
0059 }
0060 #endif
0061 
0062 #endif /* FLOATTRIG_H */