Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #31919] Win32 perlnum test failure - test 36 (+- zero)

0 views
Skip to first unread message

Ron Blaschke

unread,
Oct 10, 2004, 8:33:00 AM10/10/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Ron Blaschke
# Please include the string: [perl #31919]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31919 >


t\pmc\perlnum....ok 35/43# Failed test (t\pmc\perlnum.t at line 690)
t\pmc\perlnum....NOK 36# got: '0
# 0
# '
# expected: '0
# -0.000000
# '
t\pmc\perlnum....ok 43/43# Looks like you failed 1 tests of 43.
t\pmc\perlnum....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 36
Failed 1/43 tests, 97.67% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\pmc\perlnum.t 1 256 43 1 2.33% 36
Failed 1/1 test scripts, 0.00% okay. 1/43 subtests failed, 97.67% okay.


Ron Blaschke

unread,
Oct 19, 2004, 4:41:13 PM10/19/04
to Ron Blaschke, perl6-i...@perl.org
> t\pmc\perlnum....NOK 36# got: '0
> # 0
> # '
> # expected: '0
> # -0.000000
> # '

Visual C++ compiles "-0.0" to 0.0, which leads to the error. Attached
patch will fix this.
src/string.c

win32-perlnum-negzero.patch

Leopold Toetsch

unread,
Oct 20, 2004, 4:03:41 AM10/20/04
to Ron Blaschke, perl6-i...@perl.org
Ron Blaschke <mailin...@rblasch.org> wrote:

> Visual C++ compiles "-0.0" to 0.0, which leads to the error. Attached
> patch will fix this.

Thanks, applied.
leo

0 new messages