diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-15 17:40:47 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-15 17:40:47 +0000 |
commit | 58648255c4ba1f892c2057c962b18c5cfc46ebe1 (patch) | |
tree | 3c961f0e92377a4dd1ffcdc725d70ee3cbb97743 /zeta.c | |
parent | cb6a4da71f7e637d25ab9a7315fb39bd5b29b7eb (diff) | |
download | mpfr-58648255c4ba1f892c2057c962b18c5cfc46ebe1.tar.gz |
added 'to do' for NaN/Inf flags
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@893 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'zeta.c')
-rw-r--r-- | zeta.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -28,16 +28,19 @@ MA 02111-1307, USA. */ int #if __STDC__ -mpfr_zeta(mpfr_ptr result, mpfr_srcptr op, mp_rnd_t rnd_mode) +mpfr_zeta (mpfr_ptr result, mpfr_srcptr op, mp_rnd_t rnd_mode) #else -mpfr_zeta(result, op, rnd_mode) +mpfr_zeta (result, op, rnd_mode) mpfr_ptr result; mpfr_srcptr op; mp_rnd_t rnd_mode; #endif { mpfr_t s,s2,x,y,u,b,v,nn,z,z2; - int i,n,succes; + int i, n, succes; + + /* to do: check whether op is NaN or infinity, + and clear NaN/Inf flags of result */ /* first version */ if (mpfr_get_d(op) != 2.0 || rnd_mode != GMP_RNDN |