Skip to main content

All Questions

1 vote
1 answer
514 views

Reading a binary structure in Javascript

I have a table that I am trying to read in Javascript, with data that is large enough that I would like to have it in binary format to save space. Most of the table is either numbers or enums, but ...
PearsonArtPhoto's user avatar
0 votes
0 answers
1k views

How to obtain the half precision floating point representation of a number?

I want to obtain the binary representation of a variable x in half precision floating point representation. x can be anything (like -1.25 or 10 etc). I have tried quite a few things but can't really ...
Black Jack 21's user avatar