Skip to content Skip to sidebar Skip to footer
Showing posts with the label Bit Manipulation

2.9999999999999999 >> .5?

I heard that you could right-shift a number by .5 instead of using Math.floor(). I decided to check… Read more 2.9999999999999999 >> .5?

JavaScript Endian Encoding?

A response on SO got me thinking, does JavaScript guarantee a certain endian encoding across OSs an… Read more JavaScript Endian Encoding?