binary.twos_complement(0b0011)==1101 binary.twos_complement(0b00000011)==11111101 _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/WIYBPWTWPB6G2TDOKQOAIUSJWUQAH4UL/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: Add Binary module. Mark Dickinson
- [Python-ideas] Re: Add Binary module. Antoine Rozo
- [Python-ideas] Re: Add Binary module. ananthakrishnan15 . 2001
- [Python-ideas] Re: Add Binary module. Mark Dickinson
- [Python-ideas] Re: Add Binary module... ananthakrishnan15 . 2001
- [Python-ideas] Re: Add Binary mo... Serhiy Storchaka
- [Python-ideas] Re: Add Bina... ananthakrishnan15 . 2001
- [Python-ideas] Re: Add Binary mo... Mark Dickinson
- [Python-ideas] Re: Add Bina... ananthakrishnan15 . 2001
- [Python-ideas] Re: Add ... Mark Dickinson
- [Python-ideas] Re: Add ... ananthakrishnan15 . 2001
- [Python-ideas] Re: Add ... Mark Dickinson
- [Python-ideas] Re: Add ... ananthakrishnan15 . 2001
- [Python-ideas] Re: Add ... Chris Angelico
- [Python-ideas] Re: Add ... ananthan ananthan
- [Python-ideas] Re: Add ... ananthan ananthan
- [Python-ideas] Re: Add ... Barry Scott
- [Python-ideas] Re: Add Binary module... ananthakrishnan15 . 2001
- [Python-ideas] Re: Add Binary module... ananthakrishnan15 . 2001
- [Python-ideas] Re: Add Binary mo... Paul Moore
- [Python-ideas] Re: Add Bina... ananthakrishnan15 . 2001