summaryrefslogtreecommitdiff
path: root/sin_cos.c
Commit message (Collapse)AuthorAgeFilesLines
* Suppress some #define and fix symbol names (makes code cleaner):vlefevre2002-12-161-2/+2
| | | | | | | | | | | | | | | | | | | perl -pi -e 's/__mpfr_flags/__gmpfr_flags/g' **/*.{c,h} perl -pi -e 's/__mpfr_emin/__gmpfr_emin/g' **/*.{c,h} perl -pi -e 's/__mpfr_emax/__gmpfr_emax/g' **/*.{c,h} perl -pi -e 's/__mpfr_default_fp_bit_precision/__gmpfr_default_fp_bit_precision/g' **/*.{c,h} perl -pi -e 's/__gmp_default_rounding_mode/__gmpfr_default_rounding_mode/g' **/*.{c,h} perl -pi -e 's/__mpfr_const_log2_prec/__gmpfr_const_log2_prec/g' **/*.{c,h} perl -pi -e 's/__mpfr_const_pi_prec/__gmpfr_const_pi_prec/g' **/*.{c,h} perl -pi -e 's/_mpfr_ceil_log2/__gmpfr_ceil_log2/g' **/*.{c,h} perl -pi -e 's/_mpfr_floor_log2/__gmpfr_floor_log2/g' **/*.{c,h} perl -pi -e 's/_mpfr_ceil_exp2/__gmpfr_ceil_exp2/g' **/*.{c,h} perl -pi -e 's/_mpfr_isqrt/__gmpfr_isqrt/g' **/*.{c,h} perl -pi -e 's/_mpfr_cuberoot/__gmpfr_cuberoot/g' **/*.{c,h} perl -pi -e 's/^#define __gmpfr_.*\n//' *.h git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2125 280ebfd0-de03-0410-8827-d642c229c3f4
* COPYING -> COPYING.LIB and GPL re-added.vlefevre2002-04-151-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1877 280ebfd0-de03-0410-8827-d642c229c3f4
* COPYING.LIB -> COPYING.vlefevre2002-04-051-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1820 280ebfd0-de03-0410-8827-d642c229c3f4
* new version (adapted from sin.c)zimmerma2002-03-171-0/+99
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1743 280ebfd0-de03-0410-8827-d642c229c3f4
* now two separate files cos.c and sin.czimmerma2001-11-161-275/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1525 280ebfd0-de03-0410-8827-d642c229c3f4
* removed mpfr_sin and mpfr_cos (now separate implementations)zimmerma2001-09-071-12/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1177 280ebfd0-de03-0410-8827-d642c229c3f4
* A few patches.daney2001-06-141-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1091 280ebfd0-de03-0410-8827-d642c229c3f4
* added mpfr_sin and mpfr_coszimmerma2001-06-071-0/+12
| | | | | | | corrected in the documentation some exact values git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1090 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed problems with old K&R compilers (_PROTO missing)zimmerma2001-02-151-9/+32
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@987 280ebfd0-de03-0410-8827-d642c229c3f4
* truncate the last uk (when the precision is not a power of 2)zimmerma2001-01-111-8/+14
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@977 280ebfd0-de03-0410-8827-d642c229c3f4
* k2r -> ansi stylezimmerma2000-12-211-13/+14
| | | | | | | | removed #include <math.h> by defining auxiliary functions fixed several tiny remaining bugs with NaN/Inf git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@925 280ebfd0-de03-0410-8827-d642c229c3f4
* changed name of mpfr struct fields: _mp_d -> _mpfr_dzimmerma2000-12-181-4/+5
| | | | | | | | | (to detect conflicts with mpf) fixed a few problems in non-STDC headers moved definitions of mpfr-impl.h to mpfr-test.h and created a real mpfr-impl.h git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@897 280ebfd0-de03-0410-8827-d642c229c3f4
* removed warningszimmerma2000-12-151-0/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@886 280ebfd0-de03-0410-8827-d642c229c3f4
* Permutation of includes to avoid warnings due to careless multiple definitionhanrot2000-12-151-1/+1
| | | | | | | of ULONG_MAX. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@862 280ebfd0-de03-0410-8827-d642c229c3f4
* check that we can round the cosine toozimmerma2000-12-131-3/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@850 280ebfd0-de03-0410-8827-d642c229c3f4
* cleaned calls to mpfr_extractzimmerma2000-12-011-11/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@827 280ebfd0-de03-0410-8827-d642c229c3f4
* replaced log(2.0) by LOG2 [first step in getting rid of math.h]zimmerma2000-12-011-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@822 280ebfd0-de03-0410-8827-d642c229c3f4
* return value was wrong for input non-zero (should return 1 = inexact)zimmerma2000-12-011-4/+10
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@813 280ebfd0-de03-0410-8827-d642c229c3f4
* gained a factor of 2 in most cases (replaced initial constant factor=2zimmerma2000-11-291-25/+42
| | | | | | | for additional bits for cos(x) by log(n)) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@807 280ebfd0-de03-0410-8827-d642c229c3f4
* Infinis, premiere tentative.hanrot2000-11-211-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@793 280ebfd0-de03-0410-8827-d642c229c3f4
* protected all macros: xxx -> MPFR_xxxzimmerma2000-10-261-12/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@786 280ebfd0-de03-0410-8827-d642c229c3f4
* removed some memory leakszimmerma2000-08-161-14/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@731 280ebfd0-de03-0410-8827-d642c229c3f4
* First Releasejeandel2000-07-111-0/+222
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@662 280ebfd0-de03-0410-8827-d642c229c3f4