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.
19 lines
179 B
Plaintext
19 lines
179 B
Plaintext
0
|
|
1e0
|
|
-34e0
|
|
298e0
|
|
-8.933e3
|
|
29.488e3
|
|
-148.232e3
|
|
8.927559e6
|
|
200e-3
|
|
-20e-3
|
|
2e-3
|
|
-300e-6
|
|
20.9310e-6
|
|
-2.89362e-6
|
|
859.289e-9
|
|
-29.83672e-3
|
|
202.01296e-3
|
|
-890.7210897000000000000000000e-3
|