Could the link to source for bitwise operators specifically right/left shift be provided please.
Best I can find so far, still no luck:
Thank you @Wilberforce that gets me in the ball park . . .
For the implementation itself you probably want the jsvMathsOp function which handles the maths for JS variable types: https://github.com/espruino/Espruino/blob/13bffedc7e17ed15d7adc62a9517dfc9f6f0cb4f/src/jsvar.c#L3329
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem