1#### 10.4.3 2* 04/12/2022 3* #211 Remove `toStringTag` declaration for type compatibility. 4 5#### 10.4.2 6* 12/10/2022 7* #209 Correct return type. 8 9#### 10.4.1 10* 16/09/2022 11* #205 Add './decimal' subpath to *package.json* `exports`. 12 13#### 10.4.0 14* 14/08/2022 15* #201 Add `exports` field to *package.json*. 16* #203 Preserve license comment after bundling. 17* #198 Use type predicate on `isDecimal`. 18 19#### 10.3.1 20* 25/06/2021 21* Remove minified versions. Refresh *README*. 22 23#### 10.3.0 24* 22/06/2021 25* Support underscores as separators. 26* #101 Add `Decimal.clamp` method. 27* #161 Fix Decimal instances deemed plain objects. 28* #100 Add `Decimal.sum` method. 29* #146 `Symbol.for` to `Symbol['for']` for IE8. 30* #132 Fix possible infinite loop when `minE` is very low. 31* #180 Accept Decimals of different origin. 32* Update Typescript definitions. 33* Update minification examples in *README*. 34* Add minified versions for both *decimal.js* and *decimal.mjs*. 35* Add *files* field to *package.json*, and remove build script. 36 37#### 10.2.1 38* 28/09/2020 39* Correct `sqrt` initial estimate. 40 41#### 10.2.0 42* 08/05/2019 43* #128 Workaround V8 `Math.pow` change. 44* #93 Accept `+` prefix when parsing string values. 45* #129 Fix typo. 46 47#### 10.1.1 48* 27/02/2019 49* Check `Symbol` properly. 50 51#### 10.1.0 52* 26/02/2019 53* #122 Add custom `util.inspect()` function. 54* Add `Symbol.toStringTag`. 55* #121 Constructor: add range check for arguments of type number and Decimal. 56* Remove premable from uglifyjs build script. 57* Move *decimal.min.js.map* to root directory. 58 59#### 10.0.2 60* 13/12/2018 61* #114 Remove soureMappingURL from *decimal.min.js*. 62* Remove *bower.json*. 63 64#### 10.0.1 65* 24/05/2018 66* Add `browser` field to *package.json*. 67 68#### 10.0.0 69* 10/03/2018 70* #88 `toNearest` to return the nearest multiple in the direction of the rounding mode. 71* #82 #91 `const` to `var`. 72* Add trigonometric precision limit explanantion to documentation. 73* Put global ts definitions in separate file (see *bignumber.js* #143). 74 75#### 9.0.1 76* 15/12/2017 77* #80 Typings: correct return type. 78 79#### 9.0.0 80* 14/12/2017 81* #78 Typings: remove `toFormat`. 82 83#### 8.0.0 84* 10/12/2017 85* Correct typings: `toFraction` returns `Decimal[]`. 86* Type-checking: add `Decimal.isDecimal` method. 87* Enable configuration reset with `defaults: true`. 88* Add named export, Decimal, to *decimal.mjs*. 89 90#### 7.5.1 91* 03/12/2017 92* Remove typo. 93 94#### 7.5.0 95* 03/12/2017 96* Use TypeScript declarations outside modules. 97 98#### 7.4.0 99* 25/11/2017 100* Add TypeScript typings. 101 102#### 7.3.0 103* 26/09/2017 104* Rename *decimal.es6.js* to *decimal.mjs*. 105* Amend *.travis.yml*. 106 107#### 7.2.4 108* 09/09/2017 109* Update docs regarding `global.crypto`. 110* Fix `import` issues. 111 112#### 7.2.3 113* 27/06/2017 114* Bugfix: #58 `pow` sometimes throws when result is `Infinity`. 115 116#### 7.2.2 117* 25/06/2017 118* Bugfix: #57 Powers of -1 for integers over `Number.MAX_SAFE_INTEGER`. 119 120#### 7.2.1 121* 04/05/2017 122* Fix *README* badges. 123 124#### 7.2.0 125* 09/04/2017 126* Add *decimal.es6.js* 127 128#### 7.1.2 129* 05/04/2017 130* `Decimal.default` to `Decimal['default']` IE8 issue 131 132#### 7.1.1 133* 10/01/2017 134* Remove duplicated for-loop 135* Minor refactoring 136 137#### 7.1.0 138* 09/11/2016 139* Support ES6 imports. 140 141#### 7.0.0 142* 09/11/2016 143* Remove `require('crypto')` - leave it to the user 144* Default `Decimal.crypto` to `false` 145* Add `Decimal.set` as `Decimal.config` alias 146 147#### 6.0.0 148* 30/06/2016 149* Removed base-88 serialization format 150* Amended `toJSON` and removed `Decimal.fromJSON` accordingly 151 152#### 5.0.8 153* 09/03/2016 154* Add newline to single test results 155* Correct year 156 157#### 5.0.7 158* 29/02/2016 159* Add decimal.js-light link 160* Remove outdated example from docs 161 162#### 5.0.6 163* 22/02/2016 164* Add bower.json 165 166#### 5.0.5 167* 20/02/2016 168* Bugfix: #26 wrong precision applied 169 170#### 5.0.4 171* 14/02/2016 172* Bugfix: #26 clone 173 174#### 5.0.3 175* 06/02/2016 176* Refactor tests 177 178#### 5.0.2 179* 05/02/2016 180* Added immutability tests 181* Minor *decimal.js* clean-up 182 183#### 5.0.1 184* 28/01/2016 185* Bugfix: #20 cos mutates value 186* Add pi info to docs 187 188#### 5.0.0 189* 25/01/2016 190* Added trigonometric functions and `cubeRoot` method 191* Added most of JavaScript's `Math` object methods as Decimal methods 192* Added `toBinary`, `toHexadecimal` and `toOctal` methods 193* Added `isPositive` method 194* Removed the 15 significant digit limit for numbers 195* `toFraction` now returns an array of two Decimals, not two strings 196* String values containing whitespace or a plus sign are no longer accepted 197* `valueOf` now returns `'-0'` for minus zero 198* `comparedTo` now returns `NaN` not `null` for comparisons with `NaN` 199* `Decimal.max` and `Decimal.min` no longer accept an array 200* The Decimal constructor and `toString` no longer accept a base argument 201* Binary, hexadecimal and octal prefixes are now recognised for string values 202* Removed `Decimal.errors` configuration property 203* Removed `toFormat` method 204* Removed `Decimal.ONE` 205* Renamed `exponential` method to `naturalExponential` 206* Renamed `Decimal.constructor` method to `Decimal.clone` 207* Simplified error handling and amended error messages 208* Refactored the test suite 209* `Decimal.crypto` is now `undefined` by default, and the `crypto` object will be used if available 210* Major internal refactoring 211* Removed *bower.json* 212 213#### 4.0.2 214* 20/02/2015 Add bower.json. Add source map. Amend travis CI. Amend doc/comments 215 216#### 4.0.1 217* 11/12/2014 Assign correct constructor when duplicating a Decimal 218 219#### 4.0.0 220* 10/11/2014 `toFormat` amended to use `Decimal.format` object for more flexible configuration 221 222#### 3.0.1 223* 8/06/2014 Surround crypto require in try catch. See issue #5 224 225#### 3.0.0 226* 4/06/2014 `random` simplified. Major internal changes mean the properties of a Decimal must now be considered read-only 227 228#### 2.1.0 229* 4/06/2014 Amend UMD 230 231#### 2.0.3 232* 8/05/2014 Fix NaN toNumber 233 234#### 2.0.2 235* 30/04/2014 Correct doc links 236 237#### 2.0.1 238* 10/04/2014 Update npmignore 239 240#### 2.0.0 241* 10/04/2014 Add `toSignificantDigits` 242* Remove `toInteger` 243* No arguments to `ceil`, `floor`, `round` and `trunc` 244 245#### 1.0.1 246* 07/04/2014 Minor documentation clean-up 247 248#### 1.0.0 249* 02/04/2014 Initial release 250