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:
parent
9965e575f8
commit
d287f178aa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue