#6202: [with patch, needs review] bitset "noise" on solaris sparc (mark)
---------------------+------------------------------------------------------
 Reporter:  was      |       Owner:  tbd       
     Type:  defect   |      Status:  new       
 Priority:  blocker  |   Milestone:  sage-4.0.2
Component:  solaris  |    Keywords:            
 Reviewer:           |      Author:            
   Merged:           |  
---------------------+------------------------------------------------------

Comment(by jason):

 No.  You're right; there was an error in the original doctest; it should
 have been testing for 31, not 32.  The problem this was testing was a case
 where complementing the bit would actually zero out the last word if the
 number of bits was an integral multiple of the wordsize (not an "even"
 multiple).

 So, if you changed the test so that the third parameter was 127 instead of
 64, it would be testing the correct thing.

 This is good to know that the code wasn't at fault here, just the doctest!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6202#comment:9>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to