dc: increase exponent limit (thanks unboe, lyndon)

dc has an arbitrary limit on the size of the exponent. Lets
replace it with a different arbitrary limit.
This commit is contained in:
Ori Bernstein 2020-07-31 08:52:17 -07:00
parent 9965e575f8
commit d287f178aa

View file

@ -328,7 +328,7 @@ commnds(void)
neg++;
chsign(arg1);
}
if(length(arg1)>=3) {
if(length(arg1)>=5) {
error("exp too big\n");
}
savk = sunputc(arg2);