1259 Commits

Author SHA1 Message Date
Jos de Jong
02a2bbe9fb Merge pull request #515 from ericman314/complex-units
Added support for complex units
2015-12-24 16:11:15 +01:00
Eric
a14b8b7a68 Added VA, VAR, and custom logic to convert between them. 2015-12-24 05:45:13 +00:00
jos
ac04e9842a Released version 2.5.0 2015-12-05 13:08:38 +01:00
David Simons
cca8cd82bd Add hertz (without changes to diff) 2015-12-03 20:43:57 +00:00
David Simons
12dc0c2f62 Revert "Add Hertz unit"
This reverts commit d2ad436c83294ee56a0e0cac7e68d1f74d864d3b.
2015-12-03 20:42:06 +00:00
David Simons
d2ad436c83 Add Hertz unit 2015-12-03 20:38:56 +00:00
jos
9ffab397b6 Fixed #485: Scoping issue with variables both used globally as well as in a function definition 2015-11-28 21:20:25 +01:00
Eric
34f991949d Added support for complex units 2015-11-28 20:09:22 +00:00
jos
75b216930b Removed unused function 2015-11-28 15:14:49 +01:00
jos
afb982557a Fixed error message 2015-11-28 15:13:29 +01:00
jos
d10309cf73 Moved all aliases into the map ALIASES 2015-11-28 15:10:24 +01:00
jos
148e9d7542 Fixed dealing with Fractions and BigNumbers in Unit._normalize and Unit._denormalize. 2015-11-28 15:04:01 +01:00
jos
b5d3547914 Extended trigo, logical, relational functions with support for Units with BigNumber/Fraction value. (Many failing unit tests!) 2015-11-28 11:35:52 +01: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
5adbe0a055 Extended Unit with support for all numeric types (Fraction, BigNumber) 2015-11-27 22:45:27 +01:00
jos
fa86d87e44 Fixed function number not supporting Fraction input 2015-11-27 21:44:07 +01:00
devdevdata222
82d1057128 Restore original aliases
Need the hard-coded aliases at the end, presumably; I had tried to remove them and incorporate them in ALIASES, did not work.
2015-11-16 15:09:52 -05:00
devdevdata222
b7e91952a1 Fix alias definitions
The hard-coded aliases needed to be matched to specific units in ALIASES.
2015-11-16 14:42:42 -05:00
devdevdata222
f2843a65e6 Forgot alias l -> litre
In moving the hard-coded aliases to the aliases array I forgot to set l -> base unit defined by name 'litre'.
2015-11-16 14:19:59 -05:00
devdevdata222
0851ffc28c Fix alias for lbs
Incorrectly transferred lbs alias.
2015-11-16 14:10:15 -05:00
devdevdata222
9484e05698 PLURALS -> ALIASES, add arcmin, arcsec
Change PLURALS to ALIASES, clean up manual aliases. Add new angle units arcmin and arcsec, along with appropriate aliases.
2015-11-16 14:04:57 -05:00
jos
5d6a114dc4 Released version 2.4.2 2015-11-14 13:36:30 +01:00
jos
526c1ddfc8 Fixed #503: Removed trailing commas and the use of keyword import as
property, as this gives issues with old JavaScript engines
2015-11-13 21:10:00 +01:00
jos
15724283b1 Fixed #502: Issue with format in some JavaScript engines. 2015-11-13 20:50:55 +01:00
jos
d6626661bf Released version 2.4.1 2015-10-29 19:58:23 +01:00
jos
5fd0a5e70b Fixed: removed memoization from gamma and factorial functions, this could blow up memory. 2015-10-29 19:22:28 +01:00
jos
4b08522d44 Fixed nthRoot(-2, 3) for bignumbers (see #496) 2015-10-29 19:04:37 +01:00
jos
085f55831f Merge remote-tracking branch 'origin/develop' into develop 2015-10-29 09:05:04 +01:00
Jos de Jong
73166c98bb Merge pull request #496 from ericman314/fix-nthroot
Replaced nthRoot algorithm with direct calculation
2015-10-29 09:04:42 +01:00
Eric
f3a98f50af Replaced nthRoot algorithm with direct calculation 2015-10-29 03:49:29 +00:00
jos
d2268c31f9 Fixed: function import did not override typed functions when the option override was set true 2015-10-28 20:53:23 +01:00
jos
f45564afcf Fixed: #493: function combinations did not throw an exception for non-integer values of k. 2015-10-28 10:11:27 +01:00
jos
41169dd31d Merge remote-tracking branch 'origin/develop' into develop 2015-10-28 09:20:37 +01:00
Ben Nelson
1a9f7bf2bc Fix a small bug with new types.SparseMatrix() 2015-10-25 14:40:48 -04:00
jos
a404a7d16e Fixed docs of logical not 2015-10-25 12:34:09 +01:00
jos
b1864388c7 Fixed #480: nthRoot not working on Internet Explorer (up to IE 11) 2015-10-12 08:24:59 +02:00
jos
049c5ce2c3 Released version 2.4.0 2015-10-09 09:53:59 +02:00
jos
667139f439 Fixed a bug in functions sin and cos, which gave wrong results for BigNumber integer values around multiples of tau (i.e. sin(bignumber(7))). 2015-10-09 09:32:05 +02:00
Kunal Vyas
f91412aebf Removed unexpected strings from file 2015-10-04 09:42:19 -04:00
Kunal Vyas
16cf3a6ab5 Merge remote-tracking branch 'josdejong/develop'
Conflicts:
	lib/function/geometry/distance.js
2015-10-04 09:29:41 -04:00
Kunal Vyas
6d5412dbab Using objects for better clarity 2015-10-04 09:21:05 -04:00
Eric
aeb9eb2d7d Corrected value of stone to 6.35029318 kg 2015-10-01 17:28:22 +00:00
jos
d9f237d29b Added support in the expression parser for mathematical alphanumeric symbols (see #265) 2015-09-25 20:47:38 +02:00
jos
1f000925b7 Released version 2.3.0 2015-09-19 20:46:51 +02:00
jos
b0b1e296c9 Added missing docs for distance 2015-09-19 20:42:55 +02:00
Favian Contreras
7bccecb2cf This resolves #444. Updated test cases as well. 2015-09-19 03:15:23 -07: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