350 Commits

Author SHA1 Message Date
Jos de Jong
52e3972765 Merge pull request #293 from BigFav/bigSin
Added BigNumber functionality for atan2, with tests.
2015-03-08 20:07:00 +00:00
Favian Contreras
1fb2ab8f74 Added BigNumber functionality for atan2, with tests. 2015-03-01 03:35:19 -08:00
jos
27b436d108 Released version 1.4.0 2015-02-28 22:02:12 +01:00
Jos de Jong
cd99ca5ae7 Merge pull request #289 from BigFav/bigSin
Now numbers from BigNumber trig calls use the default constructor rather...
2015-02-26 21:02:09 +00:00
Jos de Jong
10db9cb813 Merge pull request #288 from rjbaucells/develop
Fixes the calculation of norm() and abs() of large complex numbers
2015-02-26 20:57:09 +00:00
Favian Contreras
4067586d7d Now numbers from BigNumber trig calls use the default constructor rather than create a new one each time. Now all trig functions can have arguments with higher precisions. 2015-02-26 12:31:38 -08:00
rjbaucells
dd039a1609 Fix abs() and norm() of large complex numbers 2015-02-26 00:54:44 -05: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
c970ac026a Added acsc, asec, and acot. Also fixed some Complex errors of modifying the original input. 2015-02-24 01:52:30 -08:00
Favian Contreras
85c8f8efc0 No longer edit original complex argument. 2015-02-19 23:53:28 -08:00
jos
1754ae06c1 Implemented fromJSON and toJSON in Help 2015-02-18 21:13:19 +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
2cedb78abd Implemented Help.fromJSON and Help.toJSON 2015-02-17 21:13:58 +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
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
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
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
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
3fdb22adeb Merge remote-tracking branch 'origin/develop' into develop 2015-01-29 20:30:21 +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
Kenan Yildirim
8b6f90f9a3
Fix sech example 2015-01-26 13:18:34 -05:00
jos
b5b1f39f06 Merge remote-tracking branch 'origin/develop' into develop 2015-01-16 09:18:51 +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
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
e8d8e79976 Initial BigNumber sin support. Tests added as well. 2015-01-01 23:32:15 -08:00
jos
c8509778e6 Fixed a broken example 2014-12-25 21:32:59 +01:00
jos
e3b74d4ff8 Some reorganisation in the docs 2014-12-25 20:04:26 +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
33be634ffa Dropped support for string and undefined from logical operators 2014-12-25 14:49:43 +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