1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00
This commit is contained in:
Michael Mclaughlin 2018-03-10 22:10:08 +00:00
parent 93930f8a23
commit 2e75623cc3
8 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,10 @@
#### 10.0.0
* 10/03/2018
* #88 `toNearest` to return the nearest multiple in the direction of the rounding mode.
* #82 #91 `const` to `var`.
* Add trigonometric precision limit explanantion to documentation.
* Put global ts definitions in separate file (see *bignumber.js* #143)
#### 9.0.1 #### 9.0.1
* 15/12/2017 * 15/12/2017
* #80 Typings: correct return type. * #80 Typings: correct return type.

View File

@ -1,6 +1,6 @@
The MIT Licence. The MIT Licence.
Copyright (c) 2016, 2017 Michael Mclaughlin Copyright (c) 2016, 2017, 2018 Michael Mclaughlin
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

View File

@ -1,7 +1,7 @@
{ {
"name": "decimal.js", "name": "decimal.js",
"main": "decimal.js", "main": "decimal.js",
"version": "9.0.1", "version": "10.0.0",
"homepage": "https://github.com/MikeMcl/decimal.js", "homepage": "https://github.com/MikeMcl/decimal.js",
"authors": [ "authors": [
"Michael Mclaughlin <M8ch88l@gmail.com>" "Michael Mclaughlin <M8ch88l@gmail.com>"

2
decimal.d.ts vendored
View File

@ -5,7 +5,7 @@
// //
// Documentation: http://mikemcl.github.io/decimal.js/ // Documentation: http://mikemcl.github.io/decimal.js/
// //
// Exports (available globally or when using import): // Exports:
// //
// class Decimal (default export) // class Decimal (default export)
// type Decimal.Constructor // type Decimal.Constructor

4
decimal.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
/* /*
* *
* decimal.js v9.0.1 * decimal.js v10.0.0
* An arbitrary-precision Decimal type for JavaScript. * An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js * https://github.com/MikeMcl/decimal.js
* Copyright (c) 2017 Michael Mclaughlin <M8ch88l@gmail.com> * Copyright (c) 2018 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Licence * MIT Licence
* https://github.com/MikeMcl/decimal.js/LICENCE * https://github.com/MikeMcl/decimal.js/LICENCE
* *

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"name": "decimal.js", "name": "decimal.js",
"description": "An arbitrary-precision Decimal type for JavaScript.", "description": "An arbitrary-precision Decimal type for JavaScript.",
"version": "9.0.1", "version": "10.0.0",
"keywords": [ "keywords": [
"arbitrary", "arbitrary",
"precision", "precision",
@ -29,7 +29,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"test": "node ./test/test.js", "test": "node ./test/test.js",
"build": "uglifyjs decimal.js --source-map doc/decimal.js.map -c -m -o decimal.min.js --preamble \"/* decimal.js v9.0.1 https://github.com/MikeMcl/decimal.js/LICENCE */\"" "build": "uglifyjs decimal.js --source-map doc/decimal.js.map -c -m -o decimal.min.js --preamble \"/* decimal.js v10.0.0 https://github.com/MikeMcl/decimal.js/LICENCE */\""
}, },
"types": "decimal.d.ts" "types": "decimal.d.ts"
} }