Bit twiddling floating point numbers

Grant Edwards grante at visi.com
Wed Mar 5 15:48:53 EST 2008


On 2008-03-05, Grant Edwards <grante at visi.com> wrote:
> On 2008-03-05, Jeff.Goldfinkle at gmail.com <Jeff.Goldfinkle at gmail.com> wrote:

>> Any suggestions?
>
> Just use the bitwise and/or/not operators: & | ~

Oh, I forgot to mention the shift operators << and >>

-- 
Grant Edwards                   grante             Yow! All of life is a blur
                                  at               of Republicans and meat!
                               visi.com            



More information about the Python-list mailing list