jos
|
cdd7bb8a83
|
Updated to typed-function 0.6.2, fixing a couple of bugs. Conversion from BigNumber to Complex added.
|
2015-02-26 21:51:25 +01:00 |
|
jos
|
adbf9031b2
|
Merge branch 'develop' into v2
|
2015-02-24 20:57:55 +01:00 |
|
jos
|
004e80543e
|
Halfway refactoring bitAnd
|
2015-02-24 20:39:51 +01:00 |
|
Jos de Jong
|
fc645e927e
|
Merge pull request #286 from BigFav/bigSin
acsc, asec, acot, and added Complex returns for expression parser
|
2015-02-24 19:38:28 +00:00 |
|
Favian Contreras
|
9d4b74241c
|
Updated inverse hyperbolic functions to return complex values when appropriate. Updated the test cases as well.
|
2015-02-24 03:37:42 -08:00 |
|
Favian Contreras
|
7f9b8e177f
|
Added test cases for new methods. Also, escaped parenthesis in error message, now it works. Updated atan test case to reflect the new behavior (see #173).
|
2015-02-24 01:58:24 -08:00 |
|
jos
|
77fc274496
|
Refactored log and pow to typed-functions
|
2015-02-20 21:30:56 +01:00 |
|
jos
|
db4a004e58
|
Merge branch 'develop' into v2
Conflicts:
HISTORY.md
|
2015-02-20 19:56:12 +01:00 |
|
jos
|
9193965922
|
Some more unit tests
|
2015-02-17 21:18:25 +01:00 |
|
Jos de Jong
|
7c5b457c19
|
Merge pull request #278 from BigFav/bigSin
Inverse hyperbolic trigonometric functions, and reciprocal BigNumber trigonometric functions.
|
2015-02-17 14:08:36 +00:00 |
|
Favian Contreras
|
ac460ec1a5
|
Added test cases, and updated the functions (recirpocal BigNumber calcs were previously done improperly as were the complex number computation).
|
2015-02-16 02:24:30 -08:00 |
|
jos
|
150add879a
|
Better error message on conversion of number to BigNumber when having more than 15 digits
|
2015-02-16 09:31:41 +01:00 |
|
Favian Contreras
|
ed2137a66e
|
Added hyperbolic inverse functions although they are untested. Implemented and tested the reciprocal trigonometric BigNumber functions (hyperbolic has been done as well, but not normal inverse).
|
2015-02-15 15:25:00 -08:00 |
|
Jos de Jong
|
618ec2c84b
|
Merge pull request #274 from BigFav/bigSin
BigNumber Trigonometry
|
2015-02-09 21:00:18 +01:00 |
|
Favian Contreras
|
aa4717a82d
|
Replaced BigNumber comparisons with string comparison for the high precision acos and asin test cases, in an attempt to fix those test cases.
|
2015-02-09 01:56:13 -08:00 |
|
Favian Contreras
|
38650ba475
|
Slight tweeks and refactoring of the functions. Updated test cases to ensure args were not tampered with (even for functions whose precision is inherited via the number which will be changed in the future).
|
2015-02-09 01:33:29 -08:00 |
|
Favian Contreras
|
2de088cb0d
|
Tested the functions. Made changes to the functions accordingly. Now puts more digits of pi into cosine to get the 'correct' values.
|
2015-02-08 18:42:18 -08:00 |
|
jos
|
f532155c7d
|
Refactored multiply to a typed-function
|
2015-02-07 21:03:26 +01:00 |
|
jos
|
8edf472478
|
Upgraded to typed-function v0.6.1, more functions refactored.
|
2015-02-07 20:29:32 +01:00 |
|
Jos de Jong
|
122459b8f6
|
Merge pull request #272 from BigFav/bigSin
Big sine and cosine
|
2015-02-04 14:29:58 +01:00 |
|
Favian Contreras
|
1b51822677
|
Updated tests, and slight update to the way I reduced the arguments.
|
2015-02-04 04:57:29 -08:00 |
|
Favian Contreras
|
27dc595557
|
Organized bignumber.js by function type. Improved speed of sin, and tried to complete cosine but that is slightly broken (gets last digit wrong sometimes).
|
2015-02-03 05:54:04 -08:00 |
|
Kenan Yildirim
|
02c63a24f5
|
Remove a duplicate csch test
|
2015-02-01 13:20:34 -05:00 |
|
jos
|
04ba7ec8e8
|
Minor performance improvements in larger, largerEq, smaller, smallerEq
|
2015-01-29 20:29:50 +01:00 |
|
Pete Corey
|
457c8d288a
|
Renamed tr to trace
|
2015-01-29 11:20:49 -08:00 |
|
Pete Corey
|
5e3bb7e8dd
|
Added trace matrix operation
|
2015-01-27 12:28:04 -08:00 |
|
jos
|
19c2024524
|
Halfway reworking more functions (lot of stuff is broken at this point)
|
2015-01-17 21:09:39 +01:00 |
|
jos
|
fe5faad794
|
Upgraded to typed-function v0.6.0
|
2015-01-16 09:23:03 +01:00 |
|
Favian Contreras
|
05c6dcaae5
|
Guard digits now a function of n. Updated Infinity! to be accurate (Infinity! == sqrt(tau)). Updated and cleaned up test cases.
|
2015-01-14 18:15:03 -08:00 |
|
Favian Contreras
|
a85df3fcea
|
Fixed precision variable problem (config.precision instead of math.precision), and round-off errors. Updated test cases.
|
2015-01-13 04:41:53 -08: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 |
|
jos
|
6cefd52557
|
Refactored the first few functions into typed-functions
|
2015-01-11 15:29:40 +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 |
|
Favian Contreras
|
e8d8e79976
|
Initial BigNumber sin support. Tests added as well.
|
2015-01-01 23:32:15 -08: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
|
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 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
|
6deccdf837
|
Enabled factorial for non-integer numbers. Updated test cases to reflect this.
|
2014-12-24 02:53:00 -05:00 |
|
jos
|
af08c269f3
|
Added operators &, |, <<, >>, >>> not, and, or to the expression parser
|
2014-12-23 16:25:32 +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 |
|
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 |
|
Favian Contreras
|
8d8e46e07b
|
Merge branch 'develop' of https://github.com/josdejong/mathjs into gamma_factorial
|
2014-12-17 00:39:02 -08:00 |
|
jos
|
a70d87f9a6
|
Merge branch 'boolean_logic' of https://github.com/BigFav/mathjs into BigFav-boolean_logic
Conflicts:
lib/math.js
|
2014-12-16 20:08:14 +01:00 |
|
Jos de Jong
|
d1123ab9d4
|
Merge pull request #248 from BigFav/develop
BigNumber bitwise opts
|
2014-12-16 19:52:47 +01:00 |
|