MPE/iX Shell and Utilities Reference Manual, Vol 1

dc(1) MPE/iX Shell and Utilities dc(1)
Message: scale too big
Cause: You specified a scaling factor that was too large for dc to handle.
Action: Specify a smaller scaling factor.
Message: sqrt of negative number
Cause: You attempted to take the square root of a negative number.
Action: Only use the v (square root) operator on positive numbers.
Message: stack too deep
Cause: You attempted to put more values on the stack than it was able to hold. The
maximum size of the stack is limited by the size of the maximum integer your
system can represent.
Action: Check for uncontrolled recursion.
Message: string is too long
Cause: You specified a string that is too long for dc to handle.
Action: Split the string into smaller strings.
LIMITS
Maximum array index: 2047.
Maximum exponent in an exponentiation operation: 9999.
Maximum input buffer size (line length): 1000 characters.
Maximum scaling factor: 99.
Maximum stack depth: MAXINT (that is, the size of the largest positive integer that can be
supported by the hardware).
PORTABILITY
UNIX System V.
MPE/iX NOTES
For information on how the current MPE/iX implementation may affect the operation of this
utility, see Appendix A, MPE/iX Implementation Considerations.
SEE ALSO
bc(1)
Commands and Utilities 1-167