4118 Commits

Author SHA1 Message Date
jos
2f137f5885 Added header "Precedence" 2015-02-24 20:57:45 +01:00
jos
62443b387d Updated history 2015-02-24 20:41:02 +01:00
jos
ec01154182 Merge remote-tracking branch 'origin/develop' into develop 2015-02-24 20:40:10 +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
3bd6a56f08 Copy-paste error. Changed precision back properly for BigNumber acsc. 2015-02-24 03:45:30 -08: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
Favian Contreras
c970ac026a Added acsc, asec, and acot. Also fixed some Complex errors of modifying the original input. 2015-02-24 01:52:30 -08:00
Rogelio J. Baucells
12ed2e3d68 Merge pull request #11 from josdejong/develop
sync develop branch
2015-02-23 20:17:32 -05: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
6269afa7d2 Updated docs on serialization 2015-02-20 15:30:11 +01:00
Jos de Jong
4669542079 Merge pull request #277 from FSMaxB/totex-fix
Fix missing brackets in LaTeX output (bug #273)
2015-02-20 12:41:41 +00:00
jos
f3ed387a10 Merge branch 'master' into develop 2015-02-20 09:44:45 +01:00
Jos de Jong
a6836392de Merge pull request #283 from Wikunia/patch-1
[3,6,9] for 1*3,2*3,3*3
2015-02-20 08:43:57 +00:00
Favian Contreras
85c8f8efc0 No longer edit original complex argument. 2015-02-19 23:53:28 -08:00
Ole Kröger
4c8dda8824 [3,6,9] for 1*3,2*3,3*3 2015-02-19 15:37:04 +01:00
jos
538ea10e15 Changed the json field type name from @type to a safer mathjs. 2015-02-18 22:11:54 +01:00
jos
7c41a9670d Updated history 2015-02-18 22:02:35 +01:00
jos
71897e430f Added docs and examples about serialization 2015-02-18 22:01:05 +01:00
jos
a0d43be53d Fixed Help.fromJSON 2015-02-18 21:21:06 +01:00
jos
1754ae06c1 Implemented fromJSON and toJSON in Help 2015-02-18 21:13:19 +01:00
jos
b68685fde8 Put back accidentally removed code 2015-02-18 20:44:11 +01:00
jos
70a476c357 Replaced all require('decimal.js') with require('../type/BigNumber'), containing the toJSON and fromJSON methods for BigNumber 2015-02-18 20:41:27 +01:00
jos
4bd7dc5633 Implemented toJSON and fromJSON and a reviver for most data types 2015-02-18 20:34:43 +01:00
jos
8892a8c026 Implemented Matrix.toJSON and Matrix.fromJSON 2015-02-17 21:42:10 +01:00
jos
9193965922 Some more unit tests 2015-02-17 21:18:25 +01:00
jos
2cedb78abd Implemented Help.fromJSON and Help.toJSON 2015-02-17 21:13:58 +01:00
jos
eafd3c3c0b Implemented Complex.fromJSON and Complex.toJSON 2015-02-17 21:02:05 +01:00
jos
5ea33416fc Updated version.js (unit test was broken) 2015-02-17 15:18:59 +01:00
jos
3e66fcd9ab Updated history and docs 2015-02-17 15:15:47 +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
jos
c29f33248c Fixed #281: improved formatting complex numbers. Round the real or imaginary part to zero when the difference is larger than the configured precision. 2015-02-17 14:59:39 +01:00
Favian Contreras
f296fa2e55 Cleaned up the usage of the variable 'mode' being a Number unnecessarily, it is now a Boolean. Replaced the few constant forumlas with values as well. 2015-02-16 07:55:08 -08:00
Favian Contreras
001a82a8dd Updated examples in files. 2015-02-16 02:33:05 -08: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
jos
52cd92643b Removed adding .clone() method to BigNumber 2015-02-16 09:19:53 +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
Max Bruckner
e587f0ce00 New tests for Operator mode
* Factorial of Operator node
* Test unaryMinus with sums and differences
* Test OperatorNode that substracts an OperatorNode
2015-02-14 16:31:05 +01:00
Max Bruckner
183d15fcfe OperatorNode: remove unnecessary elseif 2015-02-14 02:36:57 +01:00
Max Bruckner
bbe22a9055 fix: no brackets with single operators (bug #273)
* Use brackets after unary minus followed by an OperatorNode with + or -
 - "-(a+b)", "-(a-b)"
* Use brackets in fron of postfix operators like '!' (for OperatorNode)
 - "(a*b)!", "(a+b)!"
2015-02-14 02:36:38 +01:00
Max Bruckner
23b1890f7e fix indentation of previous commit 2015-02-14 01:48:54 +01:00
Max Bruckner
9b6d7ead9f Fix missing brackets in LaTeX output (bug #273)
When creating the LaTeX output for expressions like 1-(1+1) or 1-(1-1),
the bracket's where missing.
2015-02-13 16:51:40 +01:00
jos
acf149aadd Bumped version number to v1.3.1-SNAPSHOT 2015-02-09 21:55:49 +01:00
jos
c389ad336e Added missing docs on trace v1.3.0 2015-02-09 21:49:44 +01:00
jos
beb4e2e536 Released version 1.3.0 2015-02-09 21:43:00 +01: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