The OpenD Programming Language

sgnGamma

The sign of $(GAMMA)(x).

Returns -1 if $(GAMMA)(x) < 0, +1 if $(GAMMA)(x) > 0, NaN if sign is indeterminate.

Note that this function can be used in conjunction with logGamma(x) to evaluate gamma for very large values of x.

pure nothrow @safe @nogc
real
sgnGamma
(
real x
)

Meta