#12 lngamma_sgn_e Doesn't return sign

CVS_version
open
nobody
None
5
2014-01-24
2014-01-24
Sean Lake
No

The function lngamma_sgn_e in pygsl.testing.sf returns three arguments, one of which should be the sign of gamma function. It does not do so. For example, the first call that follows should have a negative sign, and the second should have a positive:

import pygsl.testing.sf as pgts
pgts.lngamma_sgn_e(-.1)
pgts.lngamma_sgn_e(-1.1)

The results returned are:
(2.3689613327287882, 7.2582051978015679e-15, 0.0)
(2.2736511529244616, 7.2572204959891763e-15, 0.0)

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks