I think Beni has a very nice idea here, especially for people who can't visualize 2's-complement (not mentioning Guido by name <wink>). -----Original Message----- From: Beni Cherniavksy <cben@tx.technion.ac.il> Sent: Monday, June 10, 2002 1:57 AM To: python-list@python.org Subject: Re: Does Python need a '>>>' operator? ... [quotes of old postings deleted] ... I just got another idea: use 0x1234 for 0-filled numbers and 1xABCD for 1-filled ones. That way you impose no restrictions on what follows the prefix and keep backward compatibility. 0xFFFFFFFF stays a 2^n-1 _positive_ number, as it should be. The look of 1x is weird at first but it is very logical... -- Beni Cherniavsky <cben@tx.technion.ac.il> -- http://mail.python.org/mailman/listinfo/python-list
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4