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.
73 lines
2.6 KiB
Plaintext
73 lines
2.6 KiB
Plaintext
1
|
|
0
|
|
0
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
2
|
|
18927361346
|
|
.23523785962738592635777
|
|
328956734869213746.89782398457234
|
|
16473742664221279051571200630760751138799221376964991600670000200609\
|
|
08006052596520320731708604393844468006290371918262741885989163144389\
|
|
39367835091560809036359941703341471396407660150658436796925310445979\
|
|
21333166245765946557344383284626113908419359990042883048537750217279\
|
|
17481980123593363177308481941550382845381799410533956718500484099889\
|
|
610805653325917409549921909941664118421333562129
|
|
0
|
|
43287877285033571298394739716218787350087163435619825150259705419.98\
|
|
016445740928054425
|
|
1.00000000000000000000
|
|
.50000000000000000000
|
|
.10000000000000000000
|
|
.00000000146255543348
|
|
.00000000002592041867
|
|
1.00000000000000000000
|
|
.00000000000000011102
|
|
0
|
|
-1
|
|
1
|
|
-2
|
|
4
|
|
14997322375665265051328725757939209353051902095893907150382724666290\
|
|
49749481660976421019742616298227588464420182758442163654172400528243\
|
|
00885441207762486233574213374503090372518590691583139696652847404883\
|
|
08573912261119588874308960204159666762789603037188471170006223907416\
|
|
60492840269152716750700089148882139254399347568222390231015487895905\
|
|
73727080561379177721440905866857248917982113340543176658480139248897\
|
|
54802503253413282808814063861470711399810899724515727713334909764746\
|
|
27910290211411231279325882505708287941671508154740003122373284699097\
|
|
78346501539634198926772266511968381368929692275950529960923432771985\
|
|
12597189390708050983487158873301681237787429436264801751664042999180\
|
|
3448659818912436089
|
|
11478830555358864333472551120140548480416206583184496764727387456058\
|
|
792742209537931243951391229607936
|
|
-.00000000000000017759
|
|
-2067373624686414405470850679965010694114490999957199847684803894306\
|
|
56243666149296582304582679590231948238805965642713928910384741502707\
|
|
.23224479257866798694
|
|
11606078892843496082360561256965139908586179418605021706789617179085\
|
|
85768049299693425729565480314913006780973928345684673490252494674985\
|
|
0186164225375953066263609289359900615361965737717208159874390.293769\
|
|
70206344604971
|
|
-1.00000000000000000000
|
|
1.00000000000000000000
|
|
-.50000000000000000000
|
|
.25000000000000000000
|
|
0
|
|
0
|
|
-.00000000000002874159
|
|
-1945134149489344891879057554905782841936258356736314337975569799825\
|
|
94091939572752348215929683891336730843553721422164737465108229034947\
|
|
87333189564755763444242676978610321731298729194092653999616928308494\
|
|
26419468484566422775668903315088810746121307679948574976162519479931\
|
|
18935243698160094347216562490000767121041786977792546155155934655909\
|
|
14123833869470494708767968978717730012864171105540029928688274136791\
|
|
98175053824022144065005509214813689232148489884560100200475909009813\
|
|
340098100705258138.98542904577525702068
|
|
0
|
|
0
|
|
0
|