Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-IEEE754-Tools CPAN distribution.

Report information
The Basics
Id: 116006
Status: resolved
Priority: 0/
Queue: Data-IEEE754-Tools

People
Owner: petercj [...] cpan.org
Requestors: petercj [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: v0.010
Fixed in: v0.011_001



Subject: Install Failure: nextup, nextdown, nextafter tests: QNAN instead of expected value
http://www.cpantesters.org/cpan/report/856b2650-4575-11e6-9fc5-14bfbd15da07 # Failed test 'nextup(NEG_NORM_x1x0)' # at t/04-nextupdown.t line 39. # got: '-nan' # expected: '-2.2250738585072e-308' # # nextup(NEG_NORM_x1x0): # ORIGINAL: hex(-0d1.0000000000000000p-1022 ) = 8010000000000000 # EXPECT: hex(-0d0.9999999999999998p-1022 ) = 800FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextup(NEG_NORM_x350): first normal ulp' # at t/04-nextupdown.t line 39. # got: '-nan' # expected: '-1.00208418000449e-292' # # nextup(NEG_NORM_x350): first normal ulp: # ORIGINAL: hex(-0d1.0000000000000000p-0970 ) = 8350000000000000 # EXPECT: hex(-0d1.9999999999999998p-0971 ) = 834FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextup(NEG_NORM_xFx0)' # at t/04-nextupdown.t line 39. # got: '-nan' # expected: '-8.98846567431158e+307' # # nextup(NEG_NORM_xFx0): # ORIGINAL: hex(-0d1.0000000000000000p+1023 ) = FFE0000000000000 # EXPECT: hex(-0d1.9999999999999998p+1022 ) = FFDFFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextdown(POS_NORM_x1x0)' # at t/04-nextupdown.t line 39. # got: 'nan' # expected: '2.2250738585072e-308' # # nextdown(POS_NORM_x1x0): # ORIGINAL: hex(+0d1.0000000000000000p-1022 ) = 0010000000000000 # EXPECT: hex(+0d0.9999999999999998p-1022 ) = 000FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextdown(POS_NORM_x350): first normal ulp' # at t/04-nextupdown.t line 39. # got: 'nan' # expected: '1.00208418000449e-292' # # nextdown(POS_NORM_x350): first normal ulp: # ORIGINAL: hex(+0d1.0000000000000000p-0970 ) = 0350000000000000 # EXPECT: hex(+0d1.9999999999999998p-0971 ) = 034FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextdown(POS_NORM_xFx0)' # at t/04-nextupdown.t line 39. # got: 'nan' # expected: '8.98846567431158e+307' # # nextdown(POS_NORM_xFx0): # ORIGINAL: hex(+0d1.0000000000000000p+1023 ) = 7FE0000000000000 # EXPECT: hex(+0d1.9999999999999998p+1022 ) = 7FDFFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Looks like you failed 6 tests of 60. t/04-nextupdown.t ..... Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/60 subtests t/03-ulp.t ............ ok # Failed test 'nextafter(NEG_NORM_x1x0, +INF)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-2.2250738585072e-308' # # nextafter(NEG_NORM_x1x0, +INF): # ORIGINAL: hex(-0d1.0000000000000000p-1022 ) = 8010000000000000 # EXPECT: hex(-0d0.9999999999999998p-1022 ) = 800FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_x350, +INF)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-1.00208418000449e-292' # # nextafter(NEG_NORM_x350, +INF): # ORIGINAL: hex(-0d1.0000000000000000p-0970 ) = 8350000000000000 # EXPECT: hex(-0d1.9999999999999998p-0971 ) = 834FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_xFx0, +INF)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-8.98846567431158e+307' # # nextafter(NEG_NORM_xFx0, +INF): # ORIGINAL: hex(-0d1.0000000000000000p+1023 ) = FFE0000000000000 # EXPECT: hex(-0d1.9999999999999998p+1022 ) = FFDFFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_x1x0, +MAXNUM)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-2.2250738585072e-308' # # nextafter(NEG_NORM_x1x0, +MAXNUM): # ORIGINAL: hex(-0d1.0000000000000000p-1022 ) = 8010000000000000 # EXPECT: hex(-0d0.9999999999999998p-1022 ) = 800FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_x350, +MAXNUM)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-1.00208418000449e-292' # # nextafter(NEG_NORM_x350, +MAXNUM): # ORIGINAL: hex(-0d1.0000000000000000p-0970 ) = 8350000000000000 # EXPECT: hex(-0d1.9999999999999998p-0971 ) = 834FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_xFx0, +MAXNUM)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-8.98846567431158e+307' # # nextafter(NEG_NORM_xFx0, +MAXNUM): # ORIGINAL: hex(-0d1.0000000000000000p+1023 ) = FFE0000000000000 # EXPECT: hex(-0d1.9999999999999998p+1022 ) = FFDFFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_x1x0, +ZERO)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '2.2250738585072e-308' # # nextafter(POS_NORM_x1x0, +ZERO): # ORIGINAL: hex(+0d1.0000000000000000p-1022 ) = 0010000000000000 # EXPECT: hex(+0d0.9999999999999998p-1022 ) = 000FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_x1x0, +ZERO)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-2.2250738585072e-308' # # nextafter(NEG_NORM_x1x0, +ZERO): # ORIGINAL: hex(-0d1.0000000000000000p-1022 ) = 8010000000000000 # EXPECT: hex(-0d0.9999999999999998p-1022 ) = 800FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_x350, +ZERO)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '1.00208418000449e-292' # # nextafter(POS_NORM_x350, +ZERO): # ORIGINAL: hex(+0d1.0000000000000000p-0970 ) = 0350000000000000 # EXPECT: hex(+0d1.9999999999999998p-0971 ) = 034FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_x350, +ZERO)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-1.00208418000449e-292' # # nextafter(NEG_NORM_x350, +ZERO): # ORIGINAL: hex(-0d1.0000000000000000p-0970 ) = 8350000000000000 # EXPECT: hex(-0d1.9999999999999998p-0971 ) = 834FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_xFx0, +ZERO)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '8.98846567431158e+307' # # nextafter(POS_NORM_xFx0, +ZERO): # ORIGINAL: hex(+0d1.0000000000000000p+1023 ) = 7FE0000000000000 # EXPECT: hex(+0d1.9999999999999998p+1022 ) = 7FDFFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_xFx0, +ZERO)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-8.98846567431158e+307' # # nextafter(NEG_NORM_xFx0, +ZERO): # ORIGINAL: hex(-0d1.0000000000000000p+1023 ) = FFE0000000000000 # EXPECT: hex(-0d1.9999999999999998p+1022 ) = FFDFFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_x1x0, -ZERO)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '2.2250738585072e-308' # # nextafter(POS_NORM_x1x0, -ZERO): # ORIGINAL: hex(+0d1.0000000000000000p-1022 ) = 0010000000000000 # EXPECT: hex(+0d0.9999999999999998p-1022 ) = 000FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_x1x0, -ZERO)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-2.2250738585072e-308' # # nextafter(NEG_NORM_x1x0, -ZERO): # ORIGINAL: hex(-0d1.0000000000000000p-1022 ) = 8010000000000000 # EXPECT: hex(-0d0.9999999999999998p-1022 ) = 800FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_x350, -ZERO)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '1.00208418000449e-292' # # nextafter(POS_NORM_x350, -ZERO): # ORIGINAL: hex(+0d1.0000000000000000p-0970 ) = 0350000000000000 # EXPECT: hex(+0d1.9999999999999998p-0971 ) = 034FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_x350, -ZERO)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-1.00208418000449e-292' # # nextafter(NEG_NORM_x350, -ZERO): # ORIGINAL: hex(-0d1.0000000000000000p-0970 ) = 8350000000000000 # EXPECT: hex(-0d1.9999999999999998p-0971 ) = 834FFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_xFx0, -ZERO)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '8.98846567431158e+307' # # nextafter(POS_NORM_xFx0, -ZERO): # ORIGINAL: hex(+0d1.0000000000000000p+1023 ) = 7FE0000000000000 # EXPECT: hex(+0d1.9999999999999998p+1022 ) = 7FDFFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(NEG_NORM_xFx0, -ZERO)' # at t/05-nextafter.t line 40. # got: '-nan' # expected: '-8.98846567431158e+307' # # nextafter(NEG_NORM_xFx0, -ZERO): # ORIGINAL: hex(-0d1.0000000000000000p+1023 ) = FFE0000000000000 # EXPECT: hex(-0d1.9999999999999998p+1022 ) = FFDFFFFFFFFFFFFF # ANSWER: hex(-0d1.#QNAN00000000000p+0000 ) = FFFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_x1x0, -MAXNUM)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '2.2250738585072e-308' # # nextafter(POS_NORM_x1x0, -MAXNUM): # ORIGINAL: hex(+0d1.0000000000000000p-1022 ) = 0010000000000000 # EXPECT: hex(+0d0.9999999999999998p-1022 ) = 000FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_x350, -MAXNUM)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '1.00208418000449e-292' # # nextafter(POS_NORM_x350, -MAXNUM): # ORIGINAL: hex(+0d1.0000000000000000p-0970 ) = 0350000000000000 # EXPECT: hex(+0d1.9999999999999998p-0971 ) = 034FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_xFx0, -MAXNUM)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '8.98846567431158e+307' # # nextafter(POS_NORM_xFx0, -MAXNUM): # ORIGINAL: hex(+0d1.0000000000000000p+1023 ) = 7FE0000000000000 # EXPECT: hex(+0d1.9999999999999998p+1022 ) = 7FDFFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_x1x0, -INF)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '2.2250738585072e-308' # # nextafter(POS_NORM_x1x0, -INF): # ORIGINAL: hex(+0d1.0000000000000000p-1022 ) = 0010000000000000 # EXPECT: hex(+0d0.9999999999999998p-1022 ) = 000FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_x350, -INF)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '1.00208418000449e-292' # # nextafter(POS_NORM_x350, -INF): # ORIGINAL: hex(+0d1.0000000000000000p-0970 ) = 0350000000000000 # EXPECT: hex(+0d1.9999999999999998p-0971 ) = 034FFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF # # Failed test 'nextafter(POS_NORM_xFx0, -INF)' # at t/05-nextafter.t line 40. # got: 'nan' # expected: '8.98846567431158e+307' # # nextafter(POS_NORM_xFx0, -INF): # ORIGINAL: hex(+0d1.0000000000000000p+1023 ) = 7FE0000000000000 # EXPECT: hex(+0d1.9999999999999998p+1022 ) = 7FDFFFFFFFFFFFFF # ANSWER: hex(+0d1.#QNAN00000000000p+0000 ) = 7FFFFFFFFFFFFFFF #