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

Javascript Floating Point Precision Issue

I am encountering a floating point precision issue, does anybody know why this happens? Why is it t… Read more Javascript Floating Point Precision Issue

JavaScript Floating Point Precision Issue

I am encountering a floating point precision issue, does anybody know why this happens? Why is it t… Read more JavaScript Floating Point Precision Issue

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?