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.
14 lines
309 B
Plaintext
14 lines
309 B
Plaintext
0
|
|
1.41421356237309504880
|
|
2.00000000000000000000
|
|
3.00000000000000000000
|
|
4.00000000000000000000
|
|
5.00000000000000000000
|
|
11.00000000000000000000
|
|
220.82798735667542192643
|
|
3047516.39985021245496456781
|
|
.435056761776252544285578
|
|
111307983.260397019622398608908
|
|
.0000000000000035071355833500363
|
|
1.00000000000000000000
|