poll, in 1 moment
best c operator
- a = b: 0 votes
- a += b: 0 votes
- a -= b: 0 votes
- a *= b: 0 votes
- a /= b: 0 votes
- a %= b: 0 votes
- a &= b: 0 votes
- a |= b: 0 votes
- a ^= b: 0 votes
- a <<= b: 0 votes
- a >>= b: 0 votes
- ++a: 0 votes
- --a: 0 votes
- a++: 0 votes
- a--: 0 votes
- +a: 0 votes
- -a: 0 votes
- a + b: 1 votes
- a - b: 0 votes
- a * b: 0 votes
- a / b: 0 votes
- a % b: 0 votes
- ~a: 0 votes
- a & b: 0 votes
- a | b: 0 votes
- a ^ b: 1 votes
- a << b: 1 votes
- a >> b: 0 votes
- !a: 0 votes
- a && b: 0 votes
- a || b: 0 votes
- a == b: 0 votes
- a != b: 0 votes
- a < b: 0 votes
- a > b: 0 votes
- a <= b: 0 votes
- a >= b: 0 votes
- a[b]: 0 votes
- *a: 1 votes
- &a: 1 votes
- a->b: 2 votes
- a.b: 0 votes
- a(...): 0 votes
- a, b: 0 votes
- (type) a: 0 votes
- a ? b : c: 3 votes
- sizeof: 0 votes
- _Alignof (since C11): 0 votes
if apioforum had ranked-choice voting this might be more interesting. on the other hand, it mightn't be
The most useful is probably a-=b since it's almost tc by itself. But it's not the most amusing
actually, i think a(...) is the best, but also doesn't look like an operator. the other only important one
I was trying to explain why I chose *a but viba described it pretty fittingly, surprisingly. except that it's *a for me and not &a
yeet here be bitshift
like idk what "best" is but if u were classpecting me into this then i would be this, maybe
classpecting is sorting you into your hogwarts house except there is a large quantity of houses
it's more to do with powers and major plot points, sort of
minor spoilers, if it's spoilers at all dGhlICJoZWlyIG9mIGJyZWF0aCIgZG9lcyB3aW5keSB0aGluZ3MsIHRoZSAid2l0Y2ggb2Ygc3BhY2UiIGRvZXMgc3BhY2V5IHRoaW5ncywgdGhlICJrbmlnaHQgb2YgdGltZSIgZG9lcyB0aW1leSB0aGluZ3MsIHRoZSAic2VlciBvZiBsaWdodCIgZG9lcyBsaWdodHkgdGhpbmdzLgo=
an "a<<b" does << things, presumably, and i do << things sometimes
https://github.com/munvoseli/minv/blob/master/speed.c (defining u32 to be 64 bits (on my machine) is so great wow why did i do that)
and also attempts at decoding binary file formats use << and <<= a bunch
agreed
please log in to reply to this thread