diff options
-rw-r--r-- | miscutils/bc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index 53e8d7306..74884557a 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
@@ -824,10 +824,8 @@ struct globals { | |||
824 | #define BC_MAX_STRING ((unsigned) UINT_MAX - 1) | 824 | #define BC_MAX_STRING ((unsigned) UINT_MAX - 1) |
825 | #define BC_MAX_NUM BC_MAX_STRING | 825 | #define BC_MAX_NUM BC_MAX_STRING |
826 | // Unused apart from "limits" message. Just show a "biggish number" there. | 826 | // Unused apart from "limits" message. Just show a "biggish number" there. |
827 | //#define BC_MAX_NAME BC_MAX_STRING | ||
828 | //#define BC_MAX_EXP ((unsigned long) LONG_MAX) | 827 | //#define BC_MAX_EXP ((unsigned long) LONG_MAX) |
829 | //#define BC_MAX_VARS ((unsigned long) SIZE_MAX - 1) | 828 | //#define BC_MAX_VARS ((unsigned long) SIZE_MAX - 1) |
830 | #define BC_MAX_NAME_STR "999999999" | ||
831 | #define BC_MAX_EXP_STR "999999999" | 829 | #define BC_MAX_EXP_STR "999999999" |
832 | #define BC_MAX_VARS_STR "999999999" | 830 | #define BC_MAX_VARS_STR "999999999" |
833 | 831 | ||
@@ -4629,8 +4627,7 @@ static BC_STATUS zbc_parse_stmt_possibly_auto(bool auto_allowed) | |||
4629 | "BC_DIM_MAX = "BC_MAX_DIM_STR "\n" | 4627 | "BC_DIM_MAX = "BC_MAX_DIM_STR "\n" |
4630 | "BC_SCALE_MAX = "BC_MAX_SCALE_STR "\n" | 4628 | "BC_SCALE_MAX = "BC_MAX_SCALE_STR "\n" |
4631 | "BC_STRING_MAX = "BC_MAX_STRING_STR"\n" | 4629 | "BC_STRING_MAX = "BC_MAX_STRING_STR"\n" |
4632 | "BC_NAME_MAX = "BC_MAX_NAME_STR "\n" | 4630 | // "BC_NUM_MAX = "BC_MAX_NUM_STR "\n" - GNU bc does not show this |
4633 | "BC_NUM_MAX = "BC_MAX_NUM_STR "\n" | ||
4634 | "MAX Exponent = "BC_MAX_EXP_STR "\n" | 4631 | "MAX Exponent = "BC_MAX_EXP_STR "\n" |
4635 | "Number of vars = "BC_MAX_VARS_STR "\n" | 4632 | "Number of vars = "BC_MAX_VARS_STR "\n" |
4636 | ); | 4633 | ); |