[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for gamma test
From: |
Marco Atzeri |
Subject: |
Re: patch for gamma test |
Date: |
Tue, 16 Nov 2010 16:35:08 +0000 (GMT) |
--- Mar 16/11/10, Ben Abbott ha scritto:
> Data: Martedì 16 novembre 2010, 15:27
> On Nov 16, 2010, at 5:03 AM, Marco
> Atzeri wrote:
>
> > As discussed on
> >
> > https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-October/017501.html
> >
> > this changeset amend the expectation from
> >
> > gamma(-1)= NaN
> > to
> > gamma(-1)= Inf
> >
> > Regards
> > Marco
> >
> > <gamma.patch>
>
> Matlab agrees that gamma(-1) is Inf, not NaN.
>
> Octave gives NaN for me. Should the sources be fixed
> to return the proper result?
>
> Ben
>
I presume it is system dependent.
On cygwin gamma(-1)= Inf
which system are you running ?
Marco