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)