jos
c1a8004a12
- Created a util function factory
...
- Implemented resolving dependencies
- Converted the first few factory functions
2018-11-05 17:27:42 +01:00
jos
a2ae756fd1
Remove semicolons
2018-10-31 21:18:51 +01:00
jos
247aeabffa
Refactor all unit tests to ES6 import/export
2018-10-31 21:17:23 +01:00
jos
7bc1dd3c8c
Move isBigNumber, isMatrix, and isCollection into is.js
2018-10-31 18:56:41 +01:00
Eric Mansfield
0ce87a9920
Fixed unit base recognition and formatting for user-defined units ( #1287 )
2018-10-23 19:29:21 +02:00
jos
a715786690
Release v5.2.0
2018-10-05 21:25:21 +02:00
Eric Mansfield
aadb63ef3b
Bugfix for bignumber divided by unit ( #1270 )
...
* Bugfix for bignumber divided by unit
* Expanded out numeric.js, improved divideScalar.js
* Minor comments
2018-10-05 20:53:49 +02:00
Eric Mansfield
574c3b3428
Allow dimensionless units ( #1251 )
...
* Allow dimensionless units
* Fixed double quotes
* Fixed deepEqual
* FIxed for real this time
2018-09-15 21:09:24 +02:00
greenkeeper[bot]
c5971b371a
Update standard to the latest version 🚀 ( #1226 )
...
* chore(package): update standard to version 12.0.0
* update to new lint version with --fix
I believe this mainly adds whitespace to `{}`'s.
* Replace assert.equal with assert.strictEqual
This breaks a lot of tests which I will endevour to fix in the next
commits.
* Fix most errors due to assert.strictEquals
Some instances of `strictEquals` are replaced by `deepEquals`.
`toString` has been used to make some string comparisions explicit.
Tests will still fail untill #1236 and #1237 are fixed.
* Fix assertion erros due to -0
With node 10, assert.strictEqual no longer considers `0 === -0`.
I missed these first time round as I was using node 8.
* Put toString correct side of bracket
I was converting the constructor to a string rather
than the result of the computation. Oops.
* Fixed #1236 : quantileSeq has inconsistant return
* Update package-lock
* Fixed #1237 : norm sometimes returning a complex number instead of number
* Fix cli tests
* More changes for standardjs, and fixes in unit tests
2018-09-08 16:33:58 +02:00
Jason Shin
c4662ab3bb
Implemented function getMatrixDataType ( #1172 )
...
* getMatrixDataType implemented
* implementing the last feedback ;)
* refactor
* hiding getArrayDataType from public API
2018-08-12 18:23:04 +02:00
ssaket
5b60ff9231
added test case
2018-06-15 12:32:58 +05:30
jos
88263c47c7
Woohoo fixed the last lint errors
2018-06-13 21:51:09 +02:00
jos
e844004cbf
Removed redundant escape characters
2018-06-13 21:15:10 +02:00
jos
0583771e4e
Cleanup unused variables and imports
2018-06-13 17:25:51 +02:00
jos
cfd7698867
Fixed duplicate variable definitions
2018-06-13 16:36:13 +02:00
jos
0513898a4b
Fix using new for side effects
2018-06-13 16:31:18 +02:00
jos
f1ce473457
Consistend camel case naming of variables and functions
2018-06-13 16:09:51 +02:00
jos
1f0a37a0cb
Split initialized 'const' declarations into multiple statements
2018-06-13 15:31:37 +02:00
jos
b6b36bfd9b
Use strict equality checks everywhere (=== and !==)
2018-06-13 15:02:21 +02:00
jos
17f07ec098
Fixed incompatibility with v4 (index.js file)
2018-06-13 14:02:50 +02:00
jos
b3b96749bf
Refactored var into const/let, and removed a lot of semicolons
2018-06-13 12:21:14 +02:00
jos
934ea83df7
Fixed linting issues "Expected consistent spacing"
2018-06-12 21:38:11 +02:00
jos
024b2a9e26
Fix most lint errors using npx standard --fix
2018-06-10 20:28:27 +02:00
jos
635cd0b574
Revert using /lib/ in tests, use /src/ again. Fixed coverage testing. WIP
2018-06-06 22:11:52 +02:00
jos
79071b5e4f
Fixed npm run test:browser not working (WIP)
2018-06-06 21:30:41 +02:00
jos
0c084b8e20
npm test working now
2018-06-06 15:36:36 +02:00
jos
f87ec1c6db
Setup Babel compilation (WIP)
2018-06-06 14:31:33 +02:00
jos
a19ebaca1c
More fixes for unite tests on IE11 and Edge (part IV)
2018-06-06 10:21:54 +02:00
jos
8b5586914a
More unit test tweaks to make everything work on IE 11 and Edge (part III)
2018-06-06 09:39:04 +02:00
jos
ee008d992e
Fixes failing unit tests on IE11/Edge
2018-06-04 21:19:10 +02:00
jos
68b5e3ffe6
Released v5.2.0
2018-05-02 10:05:16 +02:00
Jos de Jong
04442daf52
Merge branch 'develop' into develop
2018-04-17 20:08:52 +02:00
jos
35dd854d16
Fixed #1082 : implemented support for unit plurals decades, centuries, and millennia
2018-04-17 20:02:15 +02:00
Eric Mansfield
2fcec34c9a
Fixed year/decade and wrote test for checking in future
2018-04-15 12:59:49 -06:00
jos
7fefa33d84
Fixed #1077 : Serialization/deserialization to JSON with reviver not being supported by nodes
2018-04-04 22:09:43 +02:00
jos
21f2d46784
Fixed #1072 : Added support for long and short prefixes for the unit bar
2018-04-04 11:35:18 +02:00
jos
b00e0b7460
Fixed #1061 : math.unit not accepting input like 1/s
2018-03-17 14:01:29 +01:00
jos
bf3f62b564
Upgraded to typed-function@1.0.0
2018-02-20 20:59:05 +01:00
jos
99ab11b234
Dropped constant uninitialized
2018-02-04 13:09:09 +01:00
jos
4469f6bd0c
Remove support for implicit conversion of null to 0. See #830 .
2018-01-23 20:26:38 +01:00
jos
2c1b8f2f05
Fixed #749 : Changed rad, deg, and grad to have short prefixes, and introduced radian, degree, and gradian and their plurals having long prefixes
2018-01-23 14:18:26 +01:00
jos
e45a00ce05
Fixed #929 : FibonacciHeap.isEmpty returning wrong result
2017-08-21 20:17:07 +02:00
jos
fa01e993af
Refactored x && x.isMatrix === true into type.isMatrix(x), same with isDenseMatrix and isSparseMatrix
2017-08-12 13:24:39 +02:00
jos
6d418b9b61
Refactored x && x.isFraction === true into type.isFraction(x)
2017-08-12 12:05:11 +02:00
jos
e10dd5bce5
Refactored x && x.isBigNumber === true into type.isBigNumber(x)
2017-08-12 11:54:53 +02:00
Alexander Beyn
27ad919287
Use a different unit, since length squared may have been affected by other tests.
2017-08-10 02:57:35 -07:00
Alexander Beyn
8af981ff03
Simplify units before returning numeric value
2017-07-23 14:02:33 -07:00
Jos de Jong
777b347178
Merge pull request #852 from gulfaraz/complex_comparision
...
support to compare complex numbers #837
2017-06-05 17:01:39 +02:00
Gulfaraz Yasin
f42f7feffc
static implementation of complex comparision
2017-06-05 11:58:27 +05:30
ericman314
e96cad0370
Corrects round-off errors in splitUnit
2017-06-04 22:18:43 -06:00