crackNum 1.4 → 1.5
raw patch · 5 files changed
+12/−7 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES.md +6/−1
- Data/Numbers/CrackNum/Data.hs +1/−1
- Data/Numbers/CrackNum/Main.hs +1/−1
- README.md +3/−3
- crackNum.cabal +1/−1
CHANGES.md view
@@ -1,9 +1,14 @@ * Hackage: <http://hackage.haskell.org/package/crackNum> * GitHub: <http://github.com/LeventErkok/crackNum/> -* Latest Hackage released version: 1.4, 2016-01-17+* Latest Hackage released version: 1.5, 2016-01-23 +### Version 1.5, 2016-01-23++ * Typo fixes; no functionality changes+ ### Version 1.4, 2016-01-17+ * Fix NaN nomenclature: Screaming->Signaling * Add an example to README.md
Data/Numbers/CrackNum/Data.hs view
@@ -31,7 +31,7 @@ -- | Kinds of floating point values data Kind = Zero Bool -- ^ Zero: 0. If Bool is true, then this is -0; otherwise +0. | Infty Bool -- ^ Infinity: oo. If Bool is true, then this is -oo, otherwie +oo.- | SNaN -- ^ The screaming-NaN.+ | SNaN -- ^ The signaling-NaN. | QNaN -- ^ The quiet-NaN. | Denormal -- ^ Denormalized number, i.e., leading bit is not 1 | Normal -- ^ Normal value.
Data/Numbers/CrackNum/Main.hs view
@@ -84,7 +84,7 @@ putStrLn " - You can enter a number in decimal notation (like 2.3)" putStrLn " - OR, enter one of the following:" putStrLn " * infinity, -infinity: Positive/Negative infinities"- putStrLn " * nan, snan, qnan: Not-A-Number; screaming/quiet"+ putStrLn " * nan, snan, qnan: Not-A-Number; signaling/quiet" putStrLn " * 0, -0: Both kinds of zeros" putStrLn " * max : The maximum finite positive value" putStrLn " * -max: The minimum finite negative value"
README.md view
@@ -5,7 +5,7 @@ ### Command line options: - crackNum v1.4, (c) Levent Erkok. Released with a BSD3 license.+ crackNum v1.5, (c) Levent Erkok. Released with a BSD3 license. Usage: crackNum precision bit/hex-pattern --hp 16 bit half precision --sp 32 bit single precision@@ -44,7 +44,7 @@ - You can enter a number in decimal notation (like 2.3) - OR, enter one of the following: * infinity, -infinity: Positive/Negative infinities- * nan, snan, qnan: Not-A-Number; screaming/quiet+ * nan, snan, qnan: Not-A-Number; signaling/quiet * 0, -0: Both kinds of zeros * max : The maximum finite positive value * -max: The minimum finite negative value@@ -78,7 +78,7 @@ Value: NaN (Signaling) Note: Representation for NaN's is not unique. -### Example: Encoding a float as a IEEE754 double-precision bit-pattern+### Example: Encoding a float as a IEEE754 single-precision bit-pattern $ crackNum --sp --toIEEE=-2.3e6 3 2 1 0
crackNum.cabal view
@@ -1,5 +1,5 @@ Name: crackNum-Version: 1.4+Version: 1.5 Synopsis: Crack various integer, floating-point data formats Description: Crack HP, SP and DP floats and 8, 16, 32, 64 bit words and integers. .