diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-06-07 14:22:08 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-06-07 14:22:08 +0000 |
commit | 0c5d5d07b72d32a376331aee381619d2a5e96980 (patch) | |
tree | 0f5bed7de992d9f1239035354312e22d618ca099 /sin_cos.c | |
parent | 584745ed15027deceaa15f66cffd041cec4a614f (diff) | |
download | mpfr-0c5d5d07b72d32a376331aee381619d2a5e96980.tar.gz |
added mpfr_sin and mpfr_cos
corrected in the documentation some exact values
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1090 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sin_cos.c')
-rw-r--r-- | sin_cos.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -273,3 +273,15 @@ mpfr_sin_cos (sinus, cosinus, x, rnd_mode) return 1; /* inexact result */ } + +int +mpfr_sin (mpfr_ptr sinus, mpfr_srcptr x, mp_rnd_t rnd_mode) +{ + return mpfr_sin_cos (sinus, NULL, x, rnd_mode); +} + +int +mpfr_cos (mpfr_ptr cosinus, mpfr_srcptr x, mp_rnd_t rnd_mode) +{ + return mpfr_sin_cos (NULL, cosinus, x, rnd_mode); +} |