> At 06:26 PM 9/9/2001 -0700, Wizard wrote: > >into something using a processor op equivalent to the 8051C > > testbit( byte_variable, bit_offset). > > This is pretty much > > testbit I0, 6 > > to test whether bit 6 is set i I0, right? What is the difference from and I0, I0, (1 << 6) Unless if we want Parrot to handle multi-media data, there is not reasons to introduce many bitops (such as rotate, leading zeros, trailing zeros). Hong
- Re: Math functions? (Particularly transcendental ones) Brian Wheeler
- Re: Math functions? (Particularly transcendental ones) Bryan C . Warnock
- Re: Math functions? (Particularly transcendental ones) Brian Wheeler
- RE: Math functions? (Particularly transcendental ones) Dan Sugalski
- Re: Math functions? (Particularly transcendental ones) Uri Guttman
- RE: Math functions? (Particularly transcendental ones) Wizard
- RE: Math functions? (Particularly transcendental ones) Hong Zhang
- RE: Math functions? (Particularly transcendental ones) David Whipp
- Re: Math functions? (Particularly transcendental ones) Uri Guttman
- Re: Math functions? (Particularly transcendental ones) Eric Roode
- RE: Math functions? (Particularly transcendental ones) David Whipp
- Re: Math functions? (Particularly transcendental ones) Simon Cozens
- Re: Math functions? (Particularly transcendental ones) Dan Sugalski
- RE: Math functions? (Particularly transcendental ones) Hong Zhang