1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2026-09-23 12:24:47 +00:00
This commit is contained in:
Michael Mclaughlin
2016-01-28 23:12:34 +00:00
parent c39ab46529
commit b8b2ed7a2b
5 changed files with 33 additions and 30 deletions

View File

@@ -1,3 +1,8 @@
####5.0.1
* 28/01/2015
* Bugfix: #20 cos mutates value.
* Add pi info to docs.
####5.0.0
* 25/01/2016
* Added trigonometric functions and `cubeRoot` method.
@@ -5,6 +10,7 @@
* Added `toBinary`, `toHexadecimal` and `toOctal` methods.
* Added `isPositive` method.
* Removed the 15 significant digit limit for numbers.
* `toFraction` now returns an array of two Decimals, not two strings.
* String values containing whitespace or a plus sign are no longer accepted.
* `valueOf` now returns `'-0'` for minus zero.
* `comparedTo` now returns `NaN` not `null` for comparisons with `NaN`.