IBM0551S
ONCODE=oncode-value X in GAMMA(X) or LOGGAMMA(X) was invalid.

Explanation

One of the following conditions occurred:
  • X was less than K, where K is as follows:
    • for the built-in function GAMMA:
    • 35.04 for short floating-point arguments
    • 171.62 for long floating-point arguments
    • 1755.54 for extended floating-point arguments
    • for the built-in function LOGGAMMA:
    • 4.085E+36 for short floating-point arguments
    • 2.559E+305 for long floating-point arguments
    • 1.048E+4928 for extended floating-point arguments
  • For GAMMA(X), X was less than or equal to zero.
  • For LOGGAMMA(X), X was less than zero.
  • For GAMMA(X), the calculated result was greater in magnitude than the largest finite number representable in the result data type.
The ONCODEs associated with this message are:
  • For real short floating-point arguments:
    1571
    Argument greater than limit
    2165
    Argument less than or equal to zero
  • For real long floating-point arguments:
    1572
    Argument greater than limit
    2166
    Argument less than or equal to zero
  • For real extended floating-point arguments:
    1573
    Argument greater than limit
    2164
    Argument less than zero
    2167
    Argument equal to zero
    2403
    Argument less than or equal to minus zero
    2404
    Argument equal to zero

System action

The ERROR condition is raised.

Programmer response

If X is numeric, ensure X is greater than zero.

Symbolic Feedback Code

IBM0H7