crackNum 3.4 → 3.5
raw patch · 3 files changed
+6/−3 lines, 3 files
Files
- CHANGES.md +4/−1
- crackNum.cabal +1/−1
- src/CrackNum/Main.hs +1/−1
CHANGES.md view
@@ -1,7 +1,10 @@ * Hackage: <http://hackage.haskell.org/package/crackNum> * GitHub: <http://github.com/LeventErkok/crackNum/> -* Latest Hackage released version: 3.4, 2023-04-14+* Latest Hackage released version: 3.5, 2023-04-11++### Version 3.5, 2024-01-11+ * Resolve compilation issues with GHC 9.8 series ### Version 3.4, 2023-04-14 * Fix compilation in previous build
crackNum.cabal view
@@ -1,6 +1,6 @@ Cabal-version : 2.2 Name : crackNum-Version : 3.4+Version : 3.5 Synopsis : Crack various integer and floating-point data formats Description : Crack IEEE-754 float formats and arbitrary sized words and integers, showing the layout. .
src/CrackNum/Main.hs view
@@ -337,7 +337,7 @@ _ -> (v, Just (trim (show s))) where bfOpts = allowSubnormal <> rnd (toLibBFRM rm) <> expBits (fromIntegral i) <> precBits (fromIntegral j) (v, s) = bfFromString 10 bfOpts inp- trim xs | "[" `isPrefixOf` xs && "]" `isSuffixOf` xs = init (tail xs)+ trim xs | "[" `isPrefixOf` xs && "]" `isSuffixOf` xs = init (drop 1 xs) | True = xs note :: Maybe String -> IO ()