From f47352a81362f2811e08d78baa71010c10d5b1b7 Mon Sep 17 00:00:00 2001 From: Levent Erkok Date: Mon, 23 Sep 2024 16:20:48 -0700 Subject: [PATCH] Release 3.13 --- CHANGES.md | 4 ++++ crackNum.cabal | 2 +- src/CrackNum/Main.hs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 36039fc..b7df8c0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,10 @@ * Latest Hackage released version: 3.10, 2024-03-01 +### Version 3.13, 2024-09-23 + + * Fix help text + ### Version 3.12, 2024-04-05 * Fix hexadecimal float parsing for e4m3 diff --git a/crackNum.cabal b/crackNum.cabal index d212046..28e07aa 100644 --- a/crackNum.cabal +++ b/crackNum.cabal @@ -1,6 +1,6 @@ Cabal-version : 2.2 Name : crackNum -Version : 3.12 +Version : 3.13 Synopsis : Crack various integer and floating-point data formats Description : Crack IEEE-754 float formats and arbitrary sized words and integers, showing the layout. . diff --git a/src/CrackNum/Main.hs b/src/CrackNum/Main.hs index ec3bc32..3fb481d 100644 --- a/src/CrackNum/Main.hs +++ b/src/CrackNum/Main.hs @@ -248,7 +248,7 @@ usage pn = putStr $ unlines [ helpStr pn , " " ++ pn ++ " -f3+4 0b0111001 -- decode as float with 3 bits exponent, 4 bits significand" , " " ++ pn ++ " -fbp 0x000F -- decode as a brain-precision float" , " " ++ pn ++ " -fdp 0x8000000000000000 -- decode as a double-precision float" - , " " ++ pn ++ " -fhp 0x8000000000000000 -- decode as a double-precision float" + , " " ++ pn ++ " -fhp 0x8000 -- decode as a half-precision float" , " " ++ pn ++ " -l4 -fhp 64\\'hbdffaaffdc71fc60 -- decode as half-precision float over 4 lanes using verilog notation" , "" , " Notes:"