News for hackers. Stuff that matters.
Re:Fast Inverse Square Root by TwoBit on Monday November 02, 2020 @09:47PM (#24975854)
All well-known programming languages will do the shift first.
Re:Fast Inverse Square Root by thehobgoblin on Monday November 02, 2020 @10:24PM (#24976003)
I looked at about 20 different "popular" languages and I believe that only 2 (Go and Swift) of them have shifts at a higher precedence than addition.

I think I'm missing a reference/joke =/

Re:Fast Inverse Square Root by hemdawgz on Tuesday November 03, 2020 @04:51AM (#24978088)
Or this might just be another confident but baseless HN commenter assertion.
Re:Fast Inverse Square Root by copascetic on Tuesday November 03, 2020 @01:13AM (#24976871)
C, C++, Java, and Rust all have shift as lower precedence than addition/subtraction. Edit: and Javascript, Python.
Re:Fast Inverse Square Root by recursive on Tuesday November 03, 2020 @10:29AM (#24980491)
You can add C# as well.