Open FZFalzar opened 5 years ago
Ability to convert between hexadecimal single & double-precision floating point in IEEE 754 to/from ascii decimal
32-bit (Single-precision) BE: 0x42CF4AA1 = 103.64576 -2.457 = 0xC01D3F7D
64-bit (Double Precision) BE: -1.5467 = 0xBFF8BF487FCB923A 0x40591630E7FF583A = 100.346735
Sample calculator can be found at https://www.h-schmidt.net/FloatConverter/IEEE754.html
Npm reference module at https://www.npmjs.com/package/ieee754
How about this pull request? I'd love to see floating point conversion in CyberChef
Hey I want to contribute to this issue. Can I get started ?
@n1474335 Can I get started ?
Summary
Ability to convert between hexadecimal single & double-precision floating point in IEEE 754 to/from ascii decimal
Example
32-bit (Single-precision) BE: 0x42CF4AA1 = 103.64576 -2.457 = 0xC01D3F7D
64-bit (Double Precision) BE: -1.5467 = 0xBFF8BF487FCB923A 0x40591630E7FF583A = 100.346735
Sample calculator can be found at https://www.h-schmidt.net/FloatConverter/IEEE754.html
Npm reference module at https://www.npmjs.com/package/ieee754