Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium NeedsReview smichr

New issue 3092 by smi...@gmail.com: IntQubit doesn't raise error when number is bigger than bitsize
http://code.google.com/p/sympy/issues/detail?id=3092

The TODO to raise an error for this situation has been done and is part of https://github.com/sympy/sympy/pull/1064 . I also replaced the calculation of bitsize with the buitin bin() but didn't change the bit calculation since [int(i) for i in bin(integer)[2:]] is not faster than what is there.

--
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to