Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 3 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. #### 10.2.0
  2. * 08/05/2019
  3. * #128 Workaround V8 `Math.pow` change.
  4. * #93 Accept `+` prefix when parsing string values.
  5. * #129 Fix typo.
  6. #### 10.1.1
  7. * 27/02/2019
  8. * Check `Symbol` properly.
  9. #### 10.1.0
  10. * 26/02/2019
  11. * #122 Add custom `util.inspect()` function.
  12. * Add `Symbol.toStringTag`.
  13. * #121 Constructor: add range check for arguments of type number and Decimal.
  14. * Remove premable from uglifyjs build script.
  15. * Move *decimal.min.js.map* to root directory.
  16. #### 10.0.2
  17. * 13/12/2018
  18. * #114 Remove soureMappingURL from *decimal.min.js*.
  19. * Remove *bower.json*.
  20. #### 10.0.1
  21. * 24/05/2018
  22. * Add `browser` field to *package.json*.
  23. #### 10.0.0
  24. * 10/03/2018
  25. * #88 `toNearest` to return the nearest multiple in the direction of the rounding mode.
  26. * #82 #91 `const` to `var`.
  27. * Add trigonometric precision limit explanantion to documentation.
  28. * Put global ts definitions in separate file (see *bignumber.js* #143).
  29. #### 9.0.1
  30. * 15/12/2017
  31. * #80 Typings: correct return type.
  32. #### 9.0.0
  33. * 14/12/2017
  34. * #78 Typings: remove `toFormat`.
  35. #### 8.0.0
  36. * 10/12/2017
  37. * Correct typings: `toFraction` returns `Decimal[]`.
  38. * Type-checking: add `Decimal.isDecimal` method.
  39. * Enable configuration reset with `defaults: true`.
  40. * Add named export, Decimal, to *decimal.mjs*.
  41. #### 7.5.1
  42. * 03/12/2017
  43. * Remove typo.
  44. #### 7.5.0
  45. * 03/12/2017
  46. * Use TypeScript declarations outside modules.
  47. #### 7.4.0
  48. * 25/11/2017
  49. * Add TypeScript typings.
  50. #### 7.3.0
  51. * 26/09/2017
  52. * Rename *decimal.es6.js* to *decimal.mjs*.
  53. * Amend *.travis.yml*.
  54. #### 7.2.4
  55. * 09/09/2017
  56. * Update docs regarding `global.crypto`.
  57. * Fix `import` issues.
  58. #### 7.2.3
  59. * 27/06/2017
  60. * Bugfix: #58 `pow` sometimes throws when result is `Infinity`.
  61. #### 7.2.2
  62. * 25/06/2017
  63. * Bugfix: #57 Powers of -1 for integers over `Number.MAX_SAFE_INTEGER`.
  64. #### 7.2.1
  65. * 04/05/2017
  66. * Fix *README* badges.
  67. #### 7.2.0
  68. * 09/04/2017
  69. * Add *decimal.es6.js*
  70. #### 7.1.2
  71. * 05/04/2017
  72. * `Decimal.default` to `Decimal['default']` IE8 issue
  73. #### 7.1.1
  74. * 10/01/2017
  75. * Remove duplicated for-loop
  76. * Minor refactoring
  77. #### 7.1.0
  78. * 09/11/2016
  79. * Support ES6 imports.
  80. #### 7.0.0
  81. * 09/11/2016
  82. * Remove `require('crypto')` - leave it to the user
  83. * Default `Decimal.crypto` to `false`
  84. * Add `Decimal.set` as `Decimal.config` alias
  85. #### 6.0.0
  86. * 30/06/2016
  87. * Removed base-88 serialization format
  88. * Amended `toJSON` and removed `Decimal.fromJSON` accordingly
  89. #### 5.0.8
  90. * 09/03/2016
  91. * Add newline to single test results
  92. * Correct year
  93. #### 5.0.7
  94. * 29/02/2016
  95. * Add decimal.js-light link
  96. * Remove outdated example from docs
  97. #### 5.0.6
  98. * 22/02/2016
  99. * Add bower.json
  100. #### 5.0.5
  101. * 20/02/2016
  102. * Bugfix: #26 wrong precision applied
  103. #### 5.0.4
  104. * 14/02/2016
  105. * Bugfix: #26 clone
  106. #### 5.0.3
  107. * 06/02/2016
  108. * Refactor tests
  109. #### 5.0.2
  110. * 05/02/2016
  111. * Added immutability tests
  112. * Minor *decimal.js* clean-up
  113. #### 5.0.1
  114. * 28/01/2016
  115. * Bugfix: #20 cos mutates value
  116. * Add pi info to docs
  117. #### 5.0.0
  118. * 25/01/2016
  119. * Added trigonometric functions and `cubeRoot` method
  120. * Added most of JavaScript's `Math` object methods as Decimal methods
  121. * Added `toBinary`, `toHexadecimal` and `toOctal` methods
  122. * Added `isPositive` method
  123. * Removed the 15 significant digit limit for numbers
  124. * `toFraction` now returns an array of two Decimals, not two strings
  125. * String values containing whitespace or a plus sign are no longer accepted
  126. * `valueOf` now returns `'-0'` for minus zero
  127. * `comparedTo` now returns `NaN` not `null` for comparisons with `NaN`
  128. * `Decimal.max` and `Decimal.min` no longer accept an array
  129. * The Decimal constructor and `toString` no longer accept a base argument
  130. * Binary, hexadecimal and octal prefixes are now recognised for string values
  131. * Removed `Decimal.errors` configuration property
  132. * Removed `toFormat` method
  133. * Removed `Decimal.ONE`
  134. * Renamed `exponential` method to `naturalExponential`
  135. * Renamed `Decimal.constructor` method to `Decimal.clone`
  136. * Simplified error handling and amended error messages
  137. * Refactored the test suite
  138. * `Decimal.crypto` is now `undefined` by default, and the `crypto` object will be used if available
  139. * Major internal refactoring
  140. * Removed *bower.json*
  141. #### 4.0.2
  142. * 20/02/2015 Add bower.json. Add source map. Amend travis CI. Amend doc/comments
  143. #### 4.0.1
  144. * 11/12/2014 Assign correct constructor when duplicating a Decimal
  145. #### 4.0.0
  146. * 10/11/2014 `toFormat` amended to use `Decimal.format` object for more flexible configuration
  147. #### 3.0.1
  148. * 8/06/2014 Surround crypto require in try catch. See issue #5
  149. #### 3.0.0
  150. * 4/06/2014 `random` simplified. Major internal changes mean the properties of a Decimal must now be considered read-only
  151. #### 2.1.0
  152. * 4/06/2014 Amend UMD
  153. #### 2.0.3
  154. * 8/05/2014 Fix NaN toNumber
  155. #### 2.0.2
  156. * 30/04/2014 Correct doc links
  157. #### 2.0.1
  158. * 10/04/2014 Update npmignore
  159. #### 2.0.0
  160. * 10/04/2014 Add `toSignificantDigits`
  161. * Remove `toInteger`
  162. * No arguments to `ceil`, `floor`, `round` and `trunc`
  163. #### 1.0.1
  164. * 07/04/2014 Minor documentation clean-up
  165. #### 1.0.0
  166. * 02/04/2014 Initial release