On Mon, Sep 12, 2011 at 01:19:30PM -0700, Ethan Jackson wrote:
> >> I didn't realize that 2**0 was a standard bit numbering scheme. ?If
> >> you prefer it I'm fine with leaving it, either way is good.
> >
> > ** is just the way that "power" is written in some programming
> > languages (e.g. Fortran); 2 to the 0th power is 1.
> >
> > ^ is also a popular way to write "power", but I try to avoid using it
> > in a C context since it has a different meaning in C.
> 
> Right I understood the syntax, I just didn't realize you were
> referring to the value not the index, I thought you were talking about
> the bit in the 1th position, not the bit that represents the value 1.

Ah, OK.  I understand now.

Normally I would have said "the bit with value 1" but it was a
space-constrained comment.  Anyway, "bit 0" is even shorter than "bit
2**0", so I'll stick with that.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to