232 Commits

Author SHA1 Message Date
jos
fb141fb885 Merge branch 'decimal_v5' into develop
Conflicts:
	HISTORY.md
	test/function/trigonometry/cot.test.js
2016-02-27 11:39:56 +01:00
jos
94986762fb Merge branch 'develop' into feature/objectsupport
Conflicts:
	HISTORY.md
2016-02-24 08:58:01 +01:00
jos
73cb353260 Refactored bignumber implementations of acos, acosh, asinh, atan, atan2, atanh, cosh, sinh, tanh, cbrt 2016-02-14 22:23:18 +01:00
jos
c558cf496e Fixed all broken unit tests 2016-02-14 21:51:37 +01:00
jos
60cf4781e8 Upgraded to decimal.js v5. Replaced .constructor with .clone. Still lots of issues to fix 2016-02-13 15:48:54 +01:00
jos
e0bba8ff88 Merge branch 'develop' into complex
Conflicts:
	lib/core/import.js
2016-02-13 13:52:48 +01:00
jos
8639f85dab Updated history and extended docs 2016-02-13 13:48:09 +01:00
jos
33ddfb70a5 Updated docs for pow (see #525) 2016-02-13 13:44:12 +01:00
Eric
d6769b8cd5 Removed 'realmode' config option and replaced with 'predictable' 2016-02-13 04:21:11 +00:00
Robert Eisele
16b68d2b86 Ups, copy and paste error 2016-02-11 03:54:23 +01:00
Robert Eisele
fcfd43a218 Added complex.js 2016-01-29 01:56:06 +01:00
jos
3aa38eef62 Fixed #529: Matrix multiplication no longer squeezes scalar outputs (breaking change) 2016-01-08 21:20:33 +01:00
Eric
a5109b7327 Realmode exponentiation with unit tests 2015-12-25 19:58:48 +00:00
Eric
a14b8b7a68 Added VA, VAR, and custom logic to convert between them. 2015-12-24 05:45:13 +00:00
Eric
34f991949d Added support for complex units 2015-11-28 20:09:22 +00:00
jos
2e1d943595 Extended arithmetic functions with support for Units with BigNumber/Fraction value. (One failing unit test!) 2015-11-28 11:04:36 +01:00
jos
4b08522d44 Fixed nthRoot(-2, 3) for bignumbers (see #496) 2015-10-29 19:04:37 +01:00
Eric
f3a98f50af Replaced nthRoot algorithm with direct calculation 2015-10-29 03:49:29 +00:00
jos
b1864388c7 Fixed #480: nthRoot not working on Internet Explorer (up to IE 11) 2015-10-12 08:24:59 +02:00
jos
54e922d736 Implemented function hypot. 2015-09-17 20:39:29 +02:00
jos
d818e48321 Added support for units to cbrt 2015-09-17 19:48:25 +02:00
jos
a21b4da999 Updated docs an added unit test for returning all cubic roots of a real number. 2015-09-17 09:22:57 +02:00
jos
faa3087d92 Added a few todo's 2015-09-16 22:50:00 +02:00
jos
e42874c353 Added a few more examples 2015-09-16 22:41:27 +02:00
jos
4d18dcb3e4 Implemented function cbrt for numbers, BigNumbers, and complex numbers 2015-09-16 22:37:06 +02:00
Robert Eisele
2f1e123e5e Fixed lcm(0,0) for fractions 2015-09-09 10:47:17 +02:00
Robert Eisele
ff2bb51855 Implemented lcm for fractions 2015-09-06 12:38:00 +02:00
Robert Eisele
ac008b7623 Fraction cloning is not needed 2015-09-06 12:18:53 +02:00
Robert Eisele
ce0c9dcb9a Simplified fraction unary minus 2015-09-06 12:18:19 +02:00
Eric Mansfield
94a7d8c4e9 Merge pull request #438 from ericman314/unit-prefix-powers
Unit prefix powers
2015-08-25 13:50:32 -06:00
jos
42f15d049e Fixed a typo in the docs 2015-08-25 13:45:34 +02:00
Eric
55d3842d60 Fixed tabs 2015-08-25 03:24:40 +00:00
Eric
2968f2b4ff Almost done with unit prefix powers 2015-08-23 21:00:52 +00:00
Eric
03ec30216e Added support for units to abs, cube, sign, sqrt, square
Updated examples, docs, and unit tests
2015-08-21 05:27:54 +00:00
Eric Mansfield
a44ccd09bb Removed debugging output 2015-08-03 23:36:00 -06:00
Ubuntu
f583855261 First attempt at derived units. Updated unit tests and examples. 2015-07-25 18:48:04 +00:00
Ubuntu
9ae8ea36df Just committing so I can checkout master again to revert a few lines. 2015-07-25 03:33:07 +00:00
jos
34348d8483 Merge remote-tracking branch 'origin/v2' into develop 2015-07-21 20:51:39 +02:00
Ganga Christopher
12514a7bc4 calculating root of complex numbers using De Moviers, returns array of n complex roots in polar form 2015-07-21 17:10:49 -07:00
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
jos
57a47b3b5a Moved pure collection functions to lib/util/collection 2015-07-18 12:53:07 +02:00
jos
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
jos
0475924551 Use addScalar instead of add where possible 2015-07-11 16:38:36 +02:00
jos
049db47563 Merge remote-tracking branch 'origin/develop' into develop 2015-06-17 20:06:20 +02:00
jos
b3c7169493 Fixed #397: Inaccuracies in nthRoot for very large values, and wrong results for very small values. 2015-06-17 20:06:13 +02:00
Max Bruckner
09d1bfac92 Remove LaTeX of arithmetic functions from util/latex.js 2015-06-14 02:23:41 +02:00
jos
d2e8ec06f2 Fixed docgenerator for v2. Updated docs. 2015-06-10 20:50:29 +02:00
jos
7347591535 Upgraded to fraction.js v2.0.0, added fraction support for pow (integer exponents only) 2015-05-31 12:21:24 +02:00
jos
0eb9b5b119 Implemented a new configuration option predictable, which can be set to true in order to ensure predictable function output types. 2015-05-23 21:00:08 +02:00
jos
6c7bf4acf0 Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...). 2015-05-20 21:08:26 +02:00