Re: newbie seeks insight on bitwise operations..

From: pete (pfiland_at_mindspring.com)
Date: 07/30/04


Date: Fri, 30 Jul 2004 21:19:22 GMT

Keith Thompson wrote:

> I had to check the standard to make sure that
> "<<" and ">>" bind more tightly than "|".

Do you really look up precedence and associativity of operators
in the standard ?
I use page 53 of K&R2, instead.

-- 
pete


Relevant Pages

  • Re: Function call evaluation order
    ... How do you propose to explain in terms of precedence and associativity the ... Your expectations have been tuned to match what your compiler does! ... Undefined behavior is behavior that is not defined by the C++ standard. ...
    (microsoft.public.vc.language)
  • Re: associativity and precedence
    ... This isn't really topical for comp.lang.c, but since precedence and ... associativity ... No parse tree without a grammar. ...
    (comp.lang.c)
  • Re: Sequence points
    ... consecutive sequence points with respect to ordinary operations tracks ... follow operator precedence. ... determined, even before the standard, was inadequate based on my prior ... They are engaged in mail fraud, ...
    (comp.programming)
  • Re: man 3 switch
    ... of arithmetic operators of equal precedence in the same statement (in ... not the standard, but does the standard say otherwise? ... The languages themselves normally aren't. ...
    (Fedora)
  • Re: man 3 switch
    ... the switch statement in gcc may not be exactly the same as the switch ... As C is an ISO standard, I sincerely doubt there would be any ... of arithmetic operators of equal precedence in the same statement (in ... C allows quite a bit of leeway to the compiler implementation. ...
    (Fedora)