Ticket #9867 (closed defect: duplicate)
getting rid of endianness-dependent behaviour in GAP random sources
|Reported by:||dimpase||Owned by:||joyner|
|Report Upstream:||Fixed upstream, in a later stable release.||Reviewers:||Dmitrii Pasechnik, Karl-Dieter Crisman|
Description (last modified by dimpase) (diff)
in the thread [How to deal with GAP's machine dependent random generator?] on sage-devel Simon King mentioned that GAP own random source dependes on endianness of the machine. While Sage sort of takes care of this in misc/randstate.pyx, it still does not fix GAP internals. So, to make it good and proper, we essentially add the fix in misc/randstate.pyx to GAPROOT/src/integer.c, and remove it from misc/randstate.pyx The updated gap spkg is here:
So one needs to install this spkg and apply the patch attached to the ticket. I don't seem to have access to a 64-bit big-endian system, so it would be great to test it there, just in case...
- Cc simonking added
- Report Upstream changed from Completely fixed; Fix reported upstream to Fixed upstream, but not in a stable release.
- Status changed from needs_review to positive_review
- Reviewers set to Dmitrii Pasechnik, Karl-Dieter Crisman
- Milestone changed from sage-5.4 to sage-duplicate/invalid/wontfix