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
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
Favian Contreras
efd946a081
Completed code for trig methods. Mostly untested.
2015-02-05 09:40:27 -08: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
Jos de Jong
a897db1015
Merge pull request #271 from KenanY/dupe-csch-test
...
Remove a duplicate csch test
2015-02-01 20:21:30 +01:00
Kenan Yildirim
02c63a24f5
Remove a duplicate csch test
2015-02-01 13:20:34 -05:00
jos
cd2d58b907
Updated history and contributors
2015-01-29 20:33:42 +01:00
jos
3fdb22adeb
Merge remote-tracking branch 'origin/develop' into develop
2015-01-29 20:30:21 +01:00
Jos de Jong
b919c51bec
Merge pull request #270 from pcorey/develop
...
Added trace matrix operation
2015-01-29 20:28:43 +01:00
Pete Corey
457c8d288a
Renamed tr to trace
2015-01-29 11:20:49 -08:00
Pete Corey
f33bcbefeb
Fixed typo
2015-01-27 12:31:14 -08:00
Pete Corey
5e3bb7e8dd
Added trace matrix operation
2015-01-27 12:28:04 -08:00
Jos de Jong
d27888f9ff
Merge pull request #269 from KenanY/fix-sech-example
...
Fix sech example
2015-01-26 20:02:11 +01:00
Kenan Yildirim
8b6f90f9a3
Fix sech example
2015-01-26 13:18:34 -05:00
Jos de Jong
0f7bef15a9
Excluding .c9 folder from git
2015-01-23 12:45:04 +00:00
jos
b5b1f39f06
Merge remote-tracking branch 'origin/develop' into develop
2015-01-16 09:18:51 +01:00
Jos de Jong
6570d90f95
Merge pull request #267 from BigFav/factorial
...
Fix factorial round-off errors, and correct the output of 'Infinity!'.
2015-01-15 09:02:13 +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
0a421eb512
Now guard digits scale with 'n'.
2015-01-13 07:03:45 -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
jos
86bcd55352
Changed the way transforms are registered internally, making Node.compile faster, and enabling lazy-loading constants
2015-01-13 10:48:52 +01:00
jos
2c059371f4
Merge remote-tracking branch 'origin/develop' into develop
2015-01-12 22:34:20 +01:00
jos
50e258209b
Implemented lazy loading constants when using BigNumbers
2015-01-12 22:34:12 +01:00
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