First problems with-Duselongdouble.

Test Summary Report ------------------- t/03_types.t (Wstat: 0 Tests: 91 Failed: 1) Failed test: 20 t/09_pc_extra_number.t (Wstat: 512 (exited 2) Tests: 6 Failed: 2) Failed tests: 2, 6 Non-zero exit status: 2 t/108_pc_base.t (Wstat: 256 (exited 1) Tests: 20 Failed: 1) Failed test: 13 Non-zero exit status: 1 t/11_pc_expo.t (Wstat: 1536 (exited 6) Tests: 8 Failed: 6) Failed tests: 1-2, 5-8 Non-zero exit status: 6 Files=41, Tests=51262, 3 wallclock secs ( 1.83 usr 0.02 sys + 3.00 +cusr 0.21 csys = 5.06 CPU) Result: FAIL Failed 4/41 test programs. 10/51262 subtests failed. # Failed test 'normal 0.1' # at t/09_pc_extra_number.t line 19. # got: '0.100000000000000006' # expected: '0.1' # Failed test 'normal 0.1' # at t/09_pc_extra_number.t line 34. # got: '0.100000000000000006' # expected: '0.1' # Failed test at t/108_pc_base.t line 67. # got: '[{"foo":[1,2,3]},-0.119999999999999996,{"a":"b"}]' # expected: '[{"foo":[1,2,3]},-0.12,{"a":"b"}]' # Failed test 'digit -12.34' # at t/11_pc_expo.t line 14. # got: '-12.3399999999999999' # expected: '-12.34' # Failed test 'digit -12.34' # at t/11_pc_expo.t line 16. # got: '[-12.3399999999999999]' # expected: '[-12.34]' # Failed test 'digit 1.23E-4' # at t/11_pc_expo.t line 26. # got: '0.000123000000000000008' # expected: '0.000123' # Failed test 'digit 1.23E-4' # at t/11_pc_expo.t line 28. # got: '[0.000123000000000000008]' # expected: '[0.000123]' # Failed test 'digit 1.01e+30' # at t/11_pc_expo.t line 33. # got: '1.01000000000000002e+30' # expected: '1.01e+30' # Failed test 'digit 1.01e+30' # at t/11_pc_expo.t line 35. # '[1.01000000000000002e+30]' # doesn't match '(?^:\[1.01[Ee]\+0?30\])'

update: problems with -Dusequadmath:

Test Summary Report ------------------- t/03_types.t (Wstat: 0 Tests: 91 Failed: 5) Failed tests: 20, 63, 65, 67, 69 t/08_pc_base.t (Wstat: 256 (exited 1) Tests: 20 Failed: 1) Failed test: 13 Non-zero exit status: 1 t/09_pc_extra_number.t (Wstat: 512 (exited 2) Tests: 6 Failed: 2) Failed tests: 2, 6 Non-zero exit status: 2 t/108_pc_base.t (Wstat: 256 (exited 1) Tests: 20 Failed: 1) Failed test: 13 Non-zero exit status: 1 t/111_pc_expo.t (Wstat: 1024 (exited 4) Tests: 8 Failed: 4) Failed tests: 2, 4, 6, 8 Non-zero exit status: 4 t/118_json_checker.t (Wstat: 256 (exited 1) Tests: 38 Failed: 1) Failed test: 34 Non-zero exit status: 1 t/11_pc_expo.t (Wstat: 1792 (exited 7) Tests: 8 Failed: 7) Failed tests: 1-2, 4-8 Non-zero exit status: 7 t/18_json_checker.t (Wstat: 256 (exited 1) Tests: 38 Failed: 1) Failed test: 34 Non-zero exit status: 1 Files=41, Tests=51262, 4 wallclock secs ( 2.03 usr 0.05 sys + 3.30 +cusr 0.42 csys = 5.80 CPU) Result: FAIL # Failed test at t/08_pc_base.t line 67. # got: '[{"foo":[1,2,3]},-5.16470253714989521769614242803951e +-284,{"a":"b"}]' # expected: '[{"foo":[1,2,3]},-0.12,{"a":"b"}]' # Failed test 'normal 0.1' # at t/09_pc_extra_number.t line 19. # got: '0.100000000000000005551115123125783' # expected: '0.1' # Failed test 'normal 0.1' # at t/09_pc_extra_number.t line 34. # got: '0.100000000000000005551115123125783' # expected: '0.1' # Failed test at t/108_pc_base.t line 67. # got: '[{"foo":[1,2,3]},-0,{"a":"b"}]' # expected: '[{"foo":[1,2,3]},-0.12,{"a":"b"}]' # Failed test 'digit -12.34' # at t/111_pc_expo.t line 16. # got: '[-4.16149525995245660415177131455366e+160]' # expected: '[-12.34]' # Failed test 'digit -1.234e5' # at t/111_pc_expo.t line 22. # got: '[0]' # expected: '[-123400]' # Failed test 'digit 1.23E-4' # at t/111_pc_expo.t line 28. # got: '[1.39229364695343630594391311287435e+131]' # expected: '[0.000123]' # Failed test 'digit 1.01e+30' # at t/111_pc_expo.t line 35. # '[7.39646566216833889484405517578125e-10]' # doesn't match '(?^:\[1.01[Ee]\+0?30\])' # Failed test at t/118_json_checker.t line 27. # got: '["JSON Test Pattern pass1",{"object with 1 member":[" +array with 1 element"]},{},[],-42,true,false,null,{"":-2.681561585988 +51941991480499964117e+154," s p a c e d ":[1,2,3,4,5,6,7],"# -- --> * +/":" ","/\\\"&#51966;&#47806;&#43928;&#64734;&#48346;&#61258;\b\f\n\r +\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?":"A key can be any string","0123456 +789":"digit","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","E":4.94065645841246 +544176568792868221e-324,"address":"50 St. James Street","alpha":"abcd +efghijklmnopqrstuvwyz","array":[],"backslash":"\\","comment":"// /* < +!-- --","compact":[1,2,3,4,5,6,7],"controls":"\b\f\n\r\t","digit":"01 +23456789","e":-1.28822975391942837791220787093014e-231,"false":false, +"hex":"&#291;&#17767;&#35243;&#52719;&#43981;&#61258;","integer":1234 +567890,"jsontext":"{\"object with 1 member\":[\"array with 1 element\ +"]}","null":null,"object":{},"one":1,"quote":"\"","quotes":"&#34; \" +%22 0x22 034 &#x22;","real":1.97626258336498617670627517147289e-323," +slash":"/ & /","space":" ","special":"`1~!@#$%^&*()_+-={':[,]}|;.</>? +","true":true,"url":"http://www.JSON.org/","zero":0},0,2.681561585988 +51465650454145595185e+154,-2,1066,0,0,-1.4916681462400403550076004297 +2117e-154,0,0,0,"rosebud"]' # expected: '["JSON Test Pattern pass1",{"object with 1 member":[" +array with 1 element"]},{},[],-42,true,false,null,{"":3.9448197099195 +3508016535956825005e-17," s p a c e d ":[1,2,3,4,5,6,7],"# -- --> */" +:" ","/\\\"&#51966;&#47806;&#43928;&#64734;&#48346;&#61258;\b\f\n\r\t +`1~!@#$%^&*()_+-=[]{}|;:',./<>?":"A key can be any string","012345678 +9":"digit","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","E":7.8200212909019225 +3880430107251014e+81,"address":"50 St. James Street","alpha":"abcdefg +hijklmnopqrstuvwyz","array":[],"backslash":"\\","comment":"// /* <!-- + --","compact":[1,2,3,4,5,6,7],"controls":"\b\f\n\r\t","digit":"01234 +56789","e":-2.08901806452088517172252101925494e+70,"false":false,"hex +":"&#291;&#17767;&#35243;&#52719;&#43981;&#61258;","integer":12345678 +90,"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}" +,"null":null,"object":{},"one":1,"quote":"\"","quotes":"&#34; \" %22 +0x22 034 &#x22;","real":-1.55021771966851640713822173276562e+162,"sla +sh":"/ & /","space":" ","special":"`1~!@#$%^&*()_+-={':[,]}|;.</>?"," +true":true,"url":"http://www.JSON.org/","zero":0},0,1.903598566255293 +16093668653799472e+185,-4310085580881.919921875,1066,0,0,-2.353437368 +26453540187321886879997e-185,0,0,0,"rosebud"]' # Failed test 'digit -12.34' # at t/11_pc_expo.t line 14. # got: '-12.33999999999999985789145284798' # expected: '-12.34' # Failed test 'digit -12.34' # at t/11_pc_expo.t line 16. # got: '[-2.68156158598851941991480499964117e+154]' # expected: '[-12.34]' # Failed test 'digit -1.234e5' # at t/11_pc_expo.t line 22. # got: '[0]' # expected: '[-123400]' # Failed test 'digit 1.23E-4' # at t/11_pc_expo.t line 26. # got: '0.00012300000000000000819830314746639' # expected: '0.000123' # Failed test 'digit 1.23E-4' # at t/11_pc_expo.t line 28. # got: '[2.68156158598851941991480499964117e+154]' # expected: '[0.000123]' # Failed test 'digit 1.01e+30' # at t/11_pc_expo.t line 33. # got: '1010000000000000017268721319936' # expected: '1010000000000000000000000000000' # Failed test 'digit 1.01e+30' # at t/11_pc_expo.t line 35. # '[2]' # doesn't match '(?^:\[1.01[Ee]\+0?30\])' # Failed test at t/18_json_checker.t line 27. # got: '["JSON Test Pattern pass1",{"object with 1 member":[" +array with 1 element"]},{},[],-42,true,false,null,{"":2," s p a c e d + ":[1,2,3,4,5,6,7],"# -- --> */":" ","/\\\"&#51966;&#47806;&#43928;&# +64734;&#48346;&#61258;\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?":"A k +ey can be any string","0123456789":"digit","ALPHA":"ABCDEFGHIJKLMNOPQ +RSTUVWYZ","E":0,"address":"50 St. James Street","alpha":"abcdefghijkl +mnopqrstuvwyz","array":[],"backslash":"\\","comment":"// /* <!-- --", +"compact":[1,2,3,4,5,6,7],"controls":"\b\f\n\r\t","digit":"0123456789 +","e":0,"false":false,"hex":"&#291;&#17767;&#35243;&#52719;&#43981;&# +61258;","integer":1234567890,"jsontext":"{\"object with 1 member\":[\ +"array with 1 element\"]}","null":null,"object":{},"one":1,"quote":"\ +"","quotes":"&#34; \" %22 0x22 034 &#x22;","real":0,"slash":"/ & /"," +space":" ","special":"`1~!@#$%^&*()_+-={':[,]}|;.</>?","true":true,"u +rl":"http://www.JSON.org/","zero":0},0,0,-2,1066,0,0,0,0,0,0,"rosebud +"]' # expected: '["JSON Test Pattern pass1",{"object with 1 member":[" +array with 1 element"]},{},[],-42,true,false,null,{"":2," s p a c e d + ":[1,2,3,4,5,6,7],"# -- --> */":" ","/\\\"&#51966;&#47806;&#43928;&# +64734;&#48346;&#61258;\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?":"A k +ey can be any string","0123456789":"digit","ALPHA":"ABCDEFGHIJKLMNOPQ +RSTUVWYZ","E":2.31584178474632390847141970017376e+77,"address":"50 St +. James Street","alpha":"abcdefghijklmnopqrstuvwyz","array":[],"backs +lash":"\\","comment":"// /* <!-- --","compact":[1,2,3,4,5,6,7],"contr +ols":"\b\f\n\r\t","digit":"0123456789","e":-2.31584178474632390847141 +970017376e+77,"false":false,"hex":"&#291;&#17767;&#35243;&#52719;&#43 +981;&#61258;","integer":1234567890,"jsontext":"{\"object with 1 membe +r\":[\"array with 1 element\"]}","null":null,"object":{},"one":1,"quo +te":"\"","quotes":"&#34; \" %22 0x22 034 &#x22;","real":-2.6815615859 +8851941991480499964117e+154,"slash":"/ & /","space":" ","special":"`1 +~!@#$%^&*()_+-={':[,]}|;.</>?","true":true,"url":"http://www.JSON.org +/","zero":0},0,2.68156158598851941991480499964117e+154,-2,1066,0,0,-1 +.49166814624004134865819306309259e-154,0,0,0,"rosebud"]'

Looking forward to using it!


Enjoy, Have FUN! H.Merijn

In reply to Re: Release: JSON::SIMD by Tux
in thread Release: JSON::SIMD by kikuchiyo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.