News for hackers. Stuff that matters.
Re:Show HN: Buzz, strongly typed scripting language written ... by postalrat on Monday November 21, 2022 @12:46PM (#33695491)
Then what is: 1 << 33
Re:Show HN: Buzz, strongly typed scripting language written ... by nicoburns on Monday November 21, 2022 @01:14PM (#33695841)
Hmm... it's 2. It seems that the bitwise operators do indeed convert numbers into 32 bit integers (truncating any decimal parts) before applying their operation.