ieee 754 - converting between float int in javascript -


I have a JavaScript program (running in JSDB that uses Mozilla SpiderMocky 1.8, not in browser) Which I call the float and their IEEE representation by the appropriate number of bytes / in pairs. There are similar ways to java and double.

Is there a way to calculate these functions in Javascript? (And yes, I know that all Javascript numbers are essentially two types)

I think I can follow algorithms in Javadok, but it only covers one direction , And I need both.

By answer:

Comments