gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
https://gchq.github.io/CyberChef
Apache License 2.0
28.97k stars 3.25k forks source link

Operation request: IEEE 754 Floating-Point Hex to/from decimal with Big/Little-Endian modes #432

Open FZFalzar opened 5 years ago

FZFalzar commented 5 years ago

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

StyleTec commented 3 years ago

How about this pull request? I'd love to see floating point conversion in CyberChef

mumin-khan commented 2 years ago

Hey I want to contribute to this issue. Can I get started ?

mumin-khan commented 2 years ago

@n1474335 Can I get started ?