Favian Contreras
|
f36fbb3968
|
Added bitwise functions into the bignumber section of mathjs. Made more test cases as well. Shifts are not fully precise, but other bitwise opts are.
|
2014-12-15 01:02:41 -08:00 |
|
Favian Contreras
|
9a25f8c467
|
Merge branch 'develop' of https://github.com/josdejong/mathjs into develop
|
2014-12-13 23:50:47 -08:00 |
|
jos
|
fd586fcbf1
|
Moved bignumber functions e, pi, tau, phi to util/bignumber.js (see #226)
|
2014-12-13 14:14:33 +01:00 |
|
Favian Contreras
|
77001b40c0
|
Adjusted return types in the comments above the method; Integer isn't a JavaScript type.
|
2014-12-09 22:27:19 -08:00 |
|
Favian Contreras
|
50702826df
|
Slightly lower the code size for the 2-input gates, to much the flow of the shifts.
|
2014-12-09 22:11:24 -08:00 |
|
Favian Contreras
|
632eba954a
|
Uncommented bignumber portions, and added bignumber test cases.
|
2014-12-09 12:53:41 -08:00 |
|
Favian Contreras
|
38fd1c6315
|
Add test cases to reflect previous error while using parseInt instead of unary plus; added test cases that included strings in scientific notation.
|
2014-12-08 10:31:06 -08:00 |
|
Favian Contreras
|
a37bac1d4b
|
Removed parseInt as it is doesn't work for strings with 'e' in them; using unary plus to convert strings to non-bignumber ints. Also uncommented out the BigNumber sections in preparation for their inclusion.
|
2014-12-08 10:14:58 -08:00 |
|
jos
|
e6d54eed6d
|
Merge remote-tracking branch 'origin/develop' into develop
|
2014-12-02 10:33:19 +01:00 |
|
jos
|
2385efef31
|
Fixed a typo in the docs
|
2014-12-02 10:33:08 +01:00 |
|
Jos de Jong
|
a54c7f194c
|
Merge pull request #240 from BigFav/develop
Introducing bitwise ops
|
2014-11-27 21:50:25 +01:00 |
|
Favian Contreras
|
57079969e3
|
Renamed xor, removed string NaN failure (undefined behavior should be handled by js), and prohibited use of Units.
|
2014-11-27 06:16:37 -08:00 |
|
Favian Contreras
|
a6fa55122d
|
Finished testing, and renamed some of the ops to avoid any future confusion with boolean ops.
|
2014-11-26 06:37:27 -08:00 |
|
Favian Contreras
|
37fe86d251
|
Finished successfully testing the and, or, xor trio.
|
2014-11-26 03:19:43 -08:00 |
|
Favian Contreras
|
3f94a673bd
|
First "fully" tested function! (and.js)
|
2014-11-26 02:48:10 -08:00 |
|
Favian Contreras
|
1a7d5b1c66
|
Added shifts, but they are entirely untested. Cleaned up the other bitwise ops, and decided to do nand, nor, etc. after testing.
|
2014-11-25 11:47:03 -08:00 |
|
Favian Contreras
|
baba377619
|
Did slightly more testing than previously commited (matrices).
|
2014-11-25 02:49:55 -08:00 |
|
Favian Contreras
|
b4fdea0341
|
Basic functionality for most bitwise functions, but only minor testing. Shifts not done yet.
|
2014-11-25 02:45:11 -08:00 |
|
jos
|
4bb0aab1ce
|
Fixed indentation issue
|
2014-11-22 14:47:24 +01:00 |
|
jos
|
3f6b45bd12
|
Bumped version number to 1.1.2-SNAPSHOT
|
2014-11-22 14:26:27 +01:00 |
|
jos
|
b0740ad66a
|
Released version 1.1.1
v1.1.1
|
2014-11-22 14:21:38 +01:00 |
|
jos
|
e06002f235
|
Merge branch 'master' into develop
|
2014-11-22 14:14:59 +01:00 |
|
Jos de Jong
|
5955574e26
|
Merge pull request #239 from andy0130tw/upstream-dev
check whether the search is a property in help function
|
2014-11-22 14:14:19 +01:00 |
|
Andy Pan
|
1ccc20802b
|
Merge branch 'develop' of https://github.com/josdejong/mathjs into upstream-dev
|
2014-11-22 21:09:59 +08:00 |
|
Jos de Jong
|
4cc48728dc
|
Merge pull request #237 from ryanseys/patch-1
Fix matrix docs
|
2014-11-22 14:05:15 +01:00 |
|
jos
|
da03cd5be9
|
Fixed #238: Unit divided by Number returning zero
|
2014-11-22 13:54:38 +01:00 |
|
Andy Pan
|
a4fa88c4e3
|
modify test corresponding to the previous commit
|
2014-11-22 17:52:28 +08:00 |
|
Andy Pan
|
21d7740f93
|
check whether the search is a property in help function
|
2014-11-22 17:33:19 +08:00 |
|
Ryan Seys
|
a588b60150
|
Fix matrix docs
|
2014-11-21 23:41:14 -05:00 |
|
jos
|
73541dbad3
|
Updated history
|
2014-11-21 11:17:14 +01:00 |
|
jos
|
a61397cfc6
|
Fixed #236: BigNumber downgrading to Number for a negative base in pow
|
2014-11-21 11:16:09 +01:00 |
|
jos
|
27d5ce5fb3
|
Updated history
|
2014-11-16 15:10:47 +01:00 |
|
Jos de Jong
|
606a3834fc
|
Merge pull request #234 from andy0130tw/develop
Missing separator in error message when multiplying
|
2014-11-16 15:09:45 +01:00 |
|
jos
|
4fbd909364
|
Merge branch 'master' into develop
|
2014-11-16 15:08:51 +01:00 |
|
jos
|
e0268b7be8
|
Fixed markdown indentation issues in the docs
|
2014-11-16 15:05:36 +01:00 |
|
jos
|
50fe486102
|
Inserted spaces
|
2014-11-16 14:53:56 +01:00 |
|
jos
|
3268cdfb03
|
Added empty lines around fenced code blocks, gives issues with some markdown parsers
|
2014-11-16 14:46:02 +01:00 |
|
Andy Pan
|
fd70cb90e5
|
fix missing separator in multiply error message
|
2014-11-16 19:05:57 +08:00 |
|
jos
|
5dda5b44b8
|
Fixed a broken link in the docs
|
2014-11-15 14:34:29 +01:00 |
|
jos
|
8996910c46
|
Fixed a broken link in the docs
|
2014-11-15 14:33:27 +01:00 |
|
jos
|
892532aef2
|
Updated version number to 1.1.1-SNAPSHOT
|
2014-11-15 13:57:33 +01:00 |
|
jos
|
be88ed8105
|
Released version 1.1.0
v1.1.0
|
2014-11-15 13:43:03 +01:00 |
|
jos
|
0733e00be9
|
Added example expression_trees.js
|
2014-11-15 13:42:07 +01:00 |
|
jos
|
309bf3938d
|
Added proper error messages to Node.map
|
2014-11-15 13:32:02 +01:00 |
|
jos
|
9257ec3c33
|
Added unit tests for Node.map and Node.forEach
|
2014-11-15 13:16:32 +01:00 |
|
jos
|
5669ae1365
|
Some refactoring
|
2014-11-14 11:35:13 +01:00 |
|
jos
|
a1f60db0d1
|
Created Node.map, changed traverse to use Node.map
|
2014-11-14 11:25:48 +01:00 |
|
jos
|
20c96894ab
|
Enforcing implementation of _traverse on Nodes
|
2014-11-13 22:16:57 +01:00 |
|
jos
|
be9a8629ea
|
Node.transform does not create a clone of the tree anymore
|
2014-11-13 22:01:48 +01:00 |
|
jos
|
92627f2c94
|
Nodes for a BlockNode must now be passed via the constructor instead of via a function add
|
2014-11-13 21:54:41 +01:00 |
|