summaryrefslogtreecommitdiff
path: root/zeta.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-15 17:40:47 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-15 17:40:47 +0000
commit58648255c4ba1f892c2057c962b18c5cfc46ebe1 (patch)
tree3c961f0e92377a4dd1ffcdc725d70ee3cbb97743 /zeta.c
parentcb6a4da71f7e637d25ab9a7315fb39bd5b29b7eb (diff)
downloadmpfr-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.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/zeta.c b/zeta.c
index 2cfb3a93e..c156b29e0 100644
--- a/zeta.c
+++ b/zeta.c
@@ -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