CyberChef icon indicating copy to clipboard operation
CyberChef copied to clipboard

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

Open FZFalzar opened this issue 7 years ago • 3 comments

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

FZFalzar avatar Nov 22 '18 00:11 FZFalzar

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

StyleTec avatar Aug 19 '21 17:08 StyleTec

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

mumin-khan avatar Mar 03 '22 15:03 mumin-khan

@n1474335 Can I get started ?

mumin-khan avatar Mar 04 '22 01:03 mumin-khan