This version fixes a regression with regard to tradtional behavior of the non-standard FreeBSD option "-e". In the previous version "-e quit" caused bc to exit before any computations had been performed, since all -e option parameters were concatenated and parsed as a whole, with quit causing the program to exit as soon as it was parsed. This version parses and executes commands passed with -e one by one and only exits after all prior commands have been executed. This commit is not a SVN merge, since the vendor import had been performed after the import to contrib. Instead the contents of contrib/bc has been removed and the new version is copied over unchanged from vendor/bc/dist.
43 lines
510 B
Plaintext
43 lines
510 B
Plaintext
0
|
|
1
|
|
2
|
|
.0023896
|
|
1.298346
|
|
2.00000000
|
|
2.3896
|
|
12983.46
|
|
200000.000
|
|
891368923489.76
|
|
1892634051829351283289298000000000000000000000000
|
|
0
|
|
1
|
|
2
|
|
.0023896
|
|
1.298346
|
|
2.00000000
|
|
.0000023896
|
|
.0001298346
|
|
.0000200000000
|
|
.0089136892348976
|
|
1.892634051829351283289298
|
|
-1
|
|
-2
|
|
-.0023896
|
|
-1.298346
|
|
-2.00000000
|
|
-2.3896
|
|
-12983.46
|
|
-200000.000
|
|
-891368923489.76
|
|
-1892634051829351283289298000000000000000000000000
|
|
-1
|
|
-2
|
|
-.0023896
|
|
-1.298346
|
|
-2.00000000
|
|
-.0000023896
|
|
-.0001298346
|
|
-.0000200000000
|
|
-.0089136892348976
|
|
-1.892634051829351283289298
|