[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] gsl_sum (potential division by zero?)

From: Michel Van den Bergh
Subject: [Help-gsl] gsl_sum (potential division by zero?)
Date: Sun, 24 Dec 2006 13:35:14 +0100
User-agent: Thunderbird (X11/20061219)


I was looking at the code for gsl_sum. I have not completely understood
it yet,
but I noticed that whereas levin_utrunc.c explicitly tests for terms
that are zero,
this is not the case for levin_u.c. As one divides by such terms, it
seems that
one may potentially divide by zero this way. Am I wrong?

The documentation does not seem to mention that terms should be
different from zero.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]