Opened 6 years ago

Closed 6 years ago

#1224 closed defect (fixed)

OSX 10.4 PPC failure in sage/rings/finite_field_ntl_gf2e.pyx

Reported by: mabshoff Owned by: malb
Priority: blocker Milestone: sage-2.8.13
Component: doctest coverage Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

michael-abshoffs-ibook-g4:~/Desktop/sage-2.8.13.rc0 mabshoff$ ./sage -
t  devel/sage-main/sage/rings/finite_field_ntl_gf2e.pyx
sage -t  devel/sage-main/sage/rings/
finite_field_ntl_gf2e.pyx**********************************************************************
File "finite_field_ntl_gf2e.pyx", line 978:
    sage: int(a)
Expected:
    2
Got:
    33554432
**********************************************************************
File "finite_field_ntl_gf2e.pyx", line 980:
    sage: int(a^2 + 1)
Expected:
    5
Got:
    83886080
**********************************************************************
1 items had failures:
   2 of   3 in __main__.example_41
***Test Failed*** 2 failures.
For whitespace errors, see the file .doctest_finite_field_ntl_gf2e.pyx
         [11.1 s]
exit code: 256

----------------------------------------------------------------------
The following tests failed:


        sage -t  devel/sage-main/sage/rings/finite_field_ntl_gf2e.pyx
Total time for all tests: 11.1 seconds

Attachments (1)

trac1224_endianess.patch (2.6 KB) - added by malb 6 years ago.
next attempt, patch updated

Download all attachments as: .zip

Change History (3)

comment:1 Changed 6 years ago by cwitty

These are endianness problems (big-endian vs. little-endian): 83886080 is 0x05000000.

Changed 6 years ago by malb

next attempt, patch updated

comment:2 Changed 6 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Merged in 2.8.13.rc2.

Note: See TracTickets for help on using tickets.