On Mar 5, 10:48 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2008-03-05, Grant Edwards <[EMAIL PROTECTED]> wrote:
>
> > On 2008-03-05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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

thanks for the reply but I'm still unsure as to how to continue. Using
the bitwise operators will help me deal with integers but I really
want to work with floats. For instance - which bits do I twiddle to
round my float to the nearest number of bits?

Jeff
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to