bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #19004] float-format.c portability problems


From: Ben Pfaff
Subject: PSPP-BUG: [bug #19004] float-format.c portability problems
Date: Fri, 09 Feb 2007 05:03:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

URL:
  <http://savannah.gnu.org/bugs/?19004>

                 Summary: float-format.c portability problems
                 Project: PSPP
            Submitted by: blp
            Submitted on: Thursday 02/08/07 at 21:03
                Category: Compilation/Portability
                Severity: 7 - Major
                  Status: None
             Assigned to: blp
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None

    _______________________________________________________

Details:

float-format fails on OBSD, x86-64 (from Jason Stover): 

/tmp/pspp-tst-9723/float-format.pspp:13: error: DEBUG FLOAT FORMAT: Direct
conversion of fffffffffffffffe from ZL to ZS should have produced fffffffe
but actually produced ff00ffff.
Errors (123) exceeds limit (100).
run program
FAILED
FAIL: tests/formats/float-format.sh

float-format also fails on mingw via wine (from "John McCabe-Dansted"
<address@hidden>):

/tmp/pspp-tst-20239/float-format.pspp:2: error: DEBUG FLOAT FORMAT: Direct
conversion of 0000000000000000 from IDL to ISB should have produced 80000000
but actually produced 00000000.
/tmp/pspp-tst-20239/float-format.pspp:2: error: DEBUG FLOAT FORMAT: Direct
conversion of 80000000 from ISB to IDL should have produced 0000000000000000
but actually produced 0000000000000080.
/tmp/pspp-tst-20239/float-format.pspp:3: error: DEBUG FLOAT FORMAT: Direct
conversion of Infinity from X to ISB should have produced 7f800000 but
actually produced 7f000080.
/tmp/pspp-tst-20239/float-format.pspp:3: error: DEBUG FLOAT FORMAT: Indirect
conversion of 7f800000 from ISB to ISB should have produced 7f800000 but
actually produced 7f000080.
/tmp/pspp-tst-20239/float-format.pspp:4: error: DEBUG FLOAT FORMAT: Direct
conversion of -Infinity from X to ISB should have produced ff800000 but
actually produced ff000080.
/tmp/pspp-tst-20239/float-format.pspp:4: error: DEBUG FLOAT FORMAT: Indirect
conversion of ff800000 from ISB to ISB should have produced ff800000 but
actually produced ff000080.
/tmp/pspp-tst-20239/float-format.pspp:5: error: DEBUG FLOAT FORMAT: Direct
conversion of NaN: from X to ISB should have produced 7f800001 but actually
produced 7f000081.
/tmp/pspp-tst-20239/float-format.pspp:6: error: DEBUG FLOAT FORMAT: Direct
conversion of NaN:e000000000000000 from X to ISB should have produced
7ff00000 but actually produced 7f0000f0.
/tmp/pspp-tst-20239/float-format.pspp:6: error: DEBUG FLOAT FORMAT: Indirect
conversion of 7ff00000 from ISB to ISB should have produced 7ff00000 but
actually produced 7f0000f0.
/tmp/pspp-tst-20239/float-format.pspp:6: error: DEBUG FLOAT FORMAT: Direct
conversion of 7ffe000000000000 from IDB to ISB should have produced 7ff00000
but actually produced 7f0000f0.
...and so on...




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19004>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]