Changelog for Decimal-0.5.2
Version 0.2.1
-
Fixed
basedependency. -
Put test suite under
cabal test
Version 0.2.2
- Minor fixes to allow compilation under other versions of GHC.
Version 0.2.3
- Added instance of
NFDatafromControl.DeepSeq, and hence a dependency on thedeepseqpackage, thanks to Jeff Shaw (shawjef3 at msu.edu).
Version 0.3.1
-
Added
Typeable,FractionalandRealFracinstances. -
Multiplication now returns an exact result, increasing precision if necessary.
These changes alter the API. Hence the increment to the major version number.
Thanks to Alexey Uimanov (s9gf4ult at gmail.com).
Version 0.4.1
-
Improved
Readinstance. Now handles"1.2e3"andreadsonly returns a single parse. -
Corrected documentation.
-
Added
Enuminstance. -
decimalConvertnow returns a Maybe value. The old version has been renamed to "unsafeDecimalConvert.
Version 0.5.1
-
Bankers' Rounding implemented in "roundTo". This rounds values ending in "5" to the nearest even number, in line with the behaviour of "Prelude.round". This is potentially a breaking change for software that depends on the old behavior, so the minor version number has been bumped.
-
Added a
stack.yamlfile. -
Corrected documentation.
-
Readinstance now handles leading spaces properly. -
Fixed compiler warnings in test suite.
-
Added
roundTo'which allows fortruncate,floorandceilingbehaviour when rounding.