bc: Limits

1 
1 9 Limits
1 ********
1 
1 The following are the limits currently in place for this 'bc' processor.
1 Some of them may have been changed by an installation.  Use the 'limits'
1 statement to see the actual values.
1 
1 'BC_BASE_MAX'
1      The maximum output base is currently set at 999.  The maximum input
1      base is 16.
1 
1 'BC_DIM_MAX'
1      This is currently an arbitrary limit of 65535 as distributed.  Your
1      installation may be different.
1 
1 'BC_SCALE_MAX'
1      The number of digits after the decimal point is limited to INT_MAX
1      digits.  Also, the number of digits before the decimal point is
1      limited to INT_MAX digits.
1 
1 'BC_STRING_MAX'
1      The limit on the number of characters in a string is INT_MAX
1      characters.
1 
1 'exponent'
1      The value of the exponent in the raise operation (^) is limited to
1      LONG_MAX.
1 
1 'multiply'
1      The multiply routine may yield incorrect results if a number has
1      more than LONG_MAX / 90 total digits.  For 32 bit longs, this
1      number is 23,860,929 digits.
1 
1 'variable names'
1      The current limit on the number of unique names is 32767 for each
1      of simple variables, arrays and functions.
1