y=gammasgn(x) returns the sign of the gamma function.
See also
gammaln
scipy.special.gammaln
scipy.special.gammainc