Skip to content Skip to sidebar Skip to footer
Showing posts with the label Precision

Decompressing Half Precision Floats In Javascript

I'm trying to read a binary file with javascript that contains a lot of 16-bit floating point n… Read more Decompressing Half Precision Floats In Javascript

Google Maps V3: Invalid Value For Constructor Parameter 0 While Drawing Polylines

I have a problem when constructing a polygon. The error message says something like: Invalid valu… Read more Google Maps V3: Invalid Value For Constructor Parameter 0 While Drawing Polylines

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?