1129 Commits

Author SHA1 Message Date
Jos de Jong
bc2c81f9cd Merge pull request #266 from BigFav/develop
Cleanup and factorial fix.
2015-01-12 22:18:17 +01:00
Favian Contreras
188c3afdfd Fixed carry-over precision bug in factorial. Updated test cases to account for this potential error. 2015-01-12 13:06:22 -08:00
Favian Contreras
35d92bde1d Cleaned up test cases by removing string comparisons on NaN and 0 equality for bignumbers. Also, now ensuring that sin returns with correct precision. 2015-01-12 13:04:03 -08:00
Favian Contreras
dd2d585180 Cleaned up syntax in bignumber.js, and fixed sin bug that caused it to fail on my local machine. 2015-01-12 13:01:15 -08:00
jos
4d23e08aab Little bit more robust memoize function 2015-01-07 09:47:52 +01:00
jos
60f2370891 Generalized memoize function for multiple arguments 2015-01-06 22:28:20 +01:00
jos
47ca2b8422 Memoize all BigNumber constants 2015-01-06 22:04:56 +01:00
jos
5b1eedef59 Implemented a simple memoize function 2015-01-06 21:47:28 +01:00
jos
904f4ed8df Added some docs about converting a unit to a number with the expression parser 2015-01-05 21:07:00 +01:00
Jos de Jong
6e5d07a8c4 Merge pull request #260 from BigFav/bigSin
Big Sin slight update.
2015-01-04 20:29:36 +01:00
Favian Contreras
676e69409b Fixed bug of not reducing into pi range when negative, and using less guard digits. Now more thorough tests. 2015-01-04 10:25:03 -08:00
Jos de Jong
622d1bd083 Merge pull request #259 from BigFav/bigSin
Initial BigNumber sin support. Tests added as well.
2015-01-04 14:04:32 +01:00
jos
3d84b47658 Fixed #258: missing parentheses in the toTex representation of function permutations. 2015-01-03 10:29:55 +01:00
Favian Contreras
e8d8e79976 Initial BigNumber sin support. Tests added as well. 2015-01-01 23:32:15 -08:00
jos
5a5b4c1d7f Replaced tab with spaces 2014-12-31 09:03:51 +01:00
jos
79f4d7fbe3 Some minor fixes in the docs 2014-12-30 19:57:34 +01:00
jos
ed33a7a652 Merge branch 'master' into develop 2014-12-29 09:39:42 +01:00
jos
54029ec29a Added @BigFav to the contributor list 2014-12-29 09:39:27 +01:00
jos
7411e02889 Improved a code example 2014-12-29 09:37:23 +01:00
jos
b1c29bc8cd Fixed issues with the pipe character in markdown 2014-12-27 13:05:23 +01:00
jos
1ee3e45ec4 Added some more docs on BlockNode 2014-12-26 15:01:59 +01:00
jos
0cdbd9022b Updated chaining example in the readme. Updated comments in some examples 2014-12-26 11:32:15 +01:00
jos
c8509778e6 Fixed a broken example 2014-12-25 21:32:59 +01:00
jos
12bc095d2a Bumped version number to v1.2.1-SNAPSHOT 2014-12-25 20:26:35 +01:00
jos
8e16cef441 Released version 1.2.0 v1.2.0 2014-12-25 20:07:36 +01:00
jos
e3b74d4ff8 Some reorganisation in the docs 2014-12-25 20:04:26 +01:00
jos
3c7c3a2193 Upgraded to decimal.js v4.0.1 2014-12-25 17:47:45 +01:00
jos
8b253f050b Renamed function select to chain 2014-12-25 17:05:29 +01:00
jos
97163135b2 Implemented xor operator ^| in the expression parser 2014-12-25 15:45:54 +01:00
jos
fe694bfd12 Dropped string support for bitwise operators 2014-12-25 15:07:30 +01:00
jos
eccf5d63e5 More strict tests 2014-12-25 14:51:17 +01:00
jos
33be634ffa Dropped support for string and undefined from logical operators 2014-12-25 14:49:43 +01:00
jos
73b67bfc09 Removed logical not operator ! (so now we just have logical operators and, not, or, xor). 2014-12-25 14:21:16 +01:00
jos
2614ca6203 Added docs for xor, removed docs of _divide 2014-12-25 14:11:15 +01:00
Jos de Jong
9a051c84bf Merge pull request #256 from BigFav/develop
Changed array and matrix to element-wise. Added xor.
2014-12-25 13:38:26 +01:00
Jos de Jong
18c99b4810 Merge pull request #255 from BigFav/gamma_factorial
Gamma <-> Factorial
2014-12-25 13:37:16 +01:00
Favian Contreras
75886b35c9 Changed array and matrix to element-wise. Added xor. 2014-12-25 04:43:55 -05:00
Favian Contreras
35ddaf0f9b Migrated for Numbers to . 2014-12-25 02:26:52 -05:00
jos
950c27df3e Removed the circular dependency between divide and inv (introduced _divide) 2014-12-24 14:51:45 +01:00
Favian Contreras
6deccdf837 Enabled factorial for non-integer numbers. Updated test cases to reflect this. 2014-12-24 02:53:00 -05:00
jos
2ce01fb8f8 Fixed Help.toString not outputting example results returning false 2014-12-23 21:29:57 +01:00
jos
c8aff69110 Added markdown docs of bitwise and logical functions 2014-12-23 21:26:08 +01:00
jos
5a3e55f39b Added docs on bitwise and logical functions for expression parser 2014-12-23 21:25:34 +01:00
jos
af08c269f3 Added operators &, |, <<, >>, >>> not, and, or to the expression parser 2014-12-23 16:25:32 +01:00
jos
5f4603bfcb Added docs for gamma function 2014-12-23 14:21:44 +01:00
jos
c6bfc36b63 Updated history and contributors list 2014-12-22 16:02:08 +01:00
Jos de Jong
8381e3bffc Merge pull request #245 from BigFav/gamma_factorial
Gamma function (no BigNumber, arbitrary-precision), and updated factorial.
2014-12-18 09:19:16 +01:00
Favian Contreras
05d8f5b5f6 Failed at adding gamma to the parser (attempted to add 1 to all the values while using gamma, then tried to wierdly overload ! token). I added BigNumber integer support for gamma to allow more flexibility when integrating it into the parser (if that is something that is done). 2014-12-17 16:07:26 -08:00
Jos de Jong
96b81b03b2 Merge pull request #252 from BigFav/boolean_logic
Added  boolean not (`!`) to parser, and added corresponding test cases.
2014-12-17 16:55:28 +01:00
Favian Contreras
19e6ce057a Removed BigNumber bad implementation. Also, cleaned up the code, switched the coefficients for Lanczos, and added extended Stirling approx. 2014-12-17 06:34:23 -08:00