glow
glow copied to clipboard
Ambiguities/possible error in reference manual re: shift operators
In GitLab by @isd on May 4, 2021, 04:03
I was skmming through the reference docs, and noticed a couple things that seem off re: the bitwise shift operators:
https://glow-lang.org/docs/Glow_Reference_Manual.html#%28def._%28%28lib.glow%2Fmain..rkt%29.~3c~3c%29%29
- left vs. right seems backwards to the normal meaning of those symbols. I haven't checked whether the docs are simply incorrect or if the implementation really deviates in this way, but I would guess the former.
- The right shift should specify whether it is an arithmetic or logical shift.