binary searches in phobos

Karen Lanrap karen at digitaldaemon.com
Wed Dec 6 21:03:59 PST 2006


At least the searches in phobos/internal/switch.d fail when the 
length of the searched list reaches int.max/2, because a signed shift 
is executed instead of an unsigned shift, to compute the new bound.



More information about the Digitalmars-d-bugs mailing list