Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #165567
| From | ram@zedat.fu-berlin.de (Stefan Ram) |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | operator precedence |
| Date | 2022-04-08 12:00 +0000 |
| Organization | Stefan Ram |
| Message-ID | <thought-20220408125437@ram.dialup.fu-berlin.de> (permalink) |
Recently, I wrote: board & 1 << row * COLS + col . Not knowing the precedence of operators by heart, I planned to look up the precedence rules and then insert any necessary parentheses. But then, I had this thought: "C was made for such expression; just trust the language.".
Back to comp.lang.c | Previous | Next | Find similar
csiph-web