* Bug
@ 2004-07-07 9:38 Przemyslaw Sliwa
2004-07-11 14:11 ` Bug Jason H. Stover
2004-07-12 12:45 ` Bug Brian Gough
0 siblings, 2 replies; 4+ messages in thread
From: Przemyslaw Sliwa @ 2004-07-07 9:38 UTC (permalink / raw)
To: gsl-discuss
All,
I have found a bug in the routine which computes the cdf of the student t-distrribution.
Passing INF as the argument of gsl_cdf_tdist_Q gives wrong result of -0.001, which is not correct at all.
Thanks
Przemyslaw
--------------------------------------------------
Deutsche Bank AG
Risk Controlling
Credit Risk Engineering & Implementation
/ Daily Credit Risk
Tel.: (+44 20) 754 59676 London
Fax: (+44 20) 754 71060 London
----------------------------------------------------
--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug
2004-07-07 9:38 Bug Przemyslaw Sliwa
@ 2004-07-11 14:11 ` Jason H. Stover
2004-07-12 12:45 ` Bug Brian Gough
1 sibling, 0 replies; 4+ messages in thread
From: Jason H. Stover @ 2004-07-11 14:11 UTC (permalink / raw)
To: Przemyslaw Sliwa; +Cc: gsl-discuss
I was unable to reproduce the bug with this code:
#include <gsl/gsl_math.h>
#include <gsl/gsl_cdf.h>
int
main ()
{
double x = GSL_POSINF;
double y;
y = gsl_cdf_tdist_Q ( x, 15.0);
printf ("%f %f\n",x,y);
return;
}
compiled with gcc test.c -lgsl -lm.
-Jason
On Wed, Jul 07, 2004 at 10:37:56AM +0100, Przemyslaw Sliwa wrote:
> All,
>
> I have found a bug in the routine which computes the cdf of the student t-distrribution.
>
> Passing INF as the argument of gsl_cdf_tdist_Q gives wrong result of -0.001, which is not correct at all.
>
> Thanks
>
> Przemyslaw
>
>
>
> --------------------------------------------------
> Deutsche Bank AG
> Risk Controlling
> Credit Risk Engineering & Implementation
> / Daily Credit Risk
>
> Tel.: (+44 20) 754 59676 London
> Fax: (+44 20) 754 71060 London
>
> ----------------------------------------------------
>
>
> --
>
> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug
2004-07-07 9:38 Bug Przemyslaw Sliwa
2004-07-11 14:11 ` Bug Jason H. Stover
@ 2004-07-12 12:45 ` Brian Gough
1 sibling, 0 replies; 4+ messages in thread
From: Brian Gough @ 2004-07-12 12:45 UTC (permalink / raw)
To: Przemyslaw Sliwa; +Cc: gsl-discuss
Przemyslaw Sliwa writes:
> I have found a bug in the routine which computes the cdf of the student t-distrribution.
>
> Passing INF as the argument of gsl_cdf_tdist_Q gives wrong result of -0.001, which is not correct at all.
Please send bug reports to bug-gsl@gnu.org with an example program
that reproduces the problem, plus all the details of the operating
system and compiler. Thanks.
--
Brian Gough
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug
@ 2001-12-19 13:20 Fernando
0 siblings, 0 replies; 4+ messages in thread
From: Fernando @ 2001-12-19 13:20 UTC (permalink / raw)
To: gsl-discuss
Hi,
I have found a bug in the hypergeometric function routine, F(a,b,x).
When a is negative ( a<-2), the function has a discontinuity.
I have include a program which just plots the function.
In the program is commented at which values of x the discontinuity
begins.
thank you,
Fernando Pilotto
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-07-12 12:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-07 9:38 Bug Przemyslaw Sliwa
2004-07-11 14:11 ` Bug Jason H. Stover
2004-07-12 12:45 ` Bug Brian Gough
-- strict thread matches above, loose matches on Subject: below --
2001-12-19 13:20 bug Fernando
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).