value range propagation for _bitwise_ OR

"Jérôme M. Berger" jeberger at free.fr
Mon Apr 12 14:12:38 PDT 2010


Steven Schveighoffer wrote:
> Fails for test case:
> 
> minA = 4, maxA = 4, minB = 4, maxB = 6 (outputs 7, accurate result is 6).
> 
	Nope, outputs 6. Note that I've run an exhaustive search for all
combinations in the [0, 63] range, so if there are mistakes they
have to be outside that range...

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20100412/dc7ad1fe/attachment.pgp>


More information about the Digitalmars-d mailing list