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.
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
0
|
|
0
|
|
1
|
|
2
|
|
2
|
|
1
|
|
7
|
|
720
|
|
1998
|
|
324869359109479
|
|
2378639108055453348401
|
|
78562139406792834691802347619083467219846713490861872324967138636055\
|
|
45508706362018540498696043776980521464405852627147161556994835657433\
|
|
00967298
|
|
1.1
|
|
1.1
|
|
37842935130118.1187478621432354
|
|
1.1
|
|
3746289134067138046.138375863945672398456712389456273486293
|
|
-2
|
|
-19
|
|
-1287904651762470260258
|
|
100000000000000000000000000000000000000000000000000000000000.0000000\
|
|
00000000000000000000000000000000000000000000000000000000000000000000\
|
|
000000000000000000000000000000000000000000000
|
|
100000000000000000000000000000000000000000000000000000000000.0000000\
|
|
00000000000000000000000000000000000000000000000000000000000000000000\
|
|
000000000000000000000000000000000000000000000
|
|
100000000000000000000000000000000000000000000000000000000000.0000000\
|
|
00000000000000000000000000000000000000000000000000000000000000000000\
|
|
000000000000000000000000000000000000000009999
|
|
99999999999999999999999999999999999999999999999999999999999.99999999\
|
|
99999999999999999999999999999999999999999999999999000000000000000000\
|
|
00000000000000000000000000000000000000009999
|
|
99999999999999999999999999999999999990000000000000000000000.00000000\
|
|
00000000000000000000000000000000000000000000000000000000000000000000\
|
|
00000000000000000000000000000000000000009999
|
|
122761518
|
|
-14338.391079082
|
|
-2422295.6865057444
|
|
28937.8180227
|
|
2607685.3400807
|
|
2549811.2386027
|
|
2549810.7606607
|
|
-28937.8180227
|