24 Commits

Author SHA1 Message Date
jos
d81fe279cc String input is now converted to numbers by default for all functions. Adding two strings will no longer concatenate them, but will convert the
strings to numbers and add them.
2015-05-19 22:18:40 +02:00
rjbaucells
21450c6fe2 rightLogShift 2015-05-01 23:57:11 -04:00
rjbaucells
22d3314d2a element wise operations 2015-05-01 23:38:18 -04:00
rjbaucells
e5cb318bc2 element wise operations 2015-05-01 23:09:46 -04:00
rjbaucells
8f5742a27e element wise operations 2015-05-01 20:14:00 -04:00
rjbaucells
a6497d1886 element wise operations 2015-04-29 20:37:04 -04:00
jos
6e96d5a808 Merge branch 'develop' into v2
Conflicts:
	HISTORY.md
	bower.json
	component.json
	dist/math.js
	dist/math.map
	dist/math.min.js
	lib/function/arithmetic/abs.js
	lib/function/probability/gamma.js
	lib/version.js
	package.json
2015-04-22 21:43:56 +02:00
Max Bruckner
8ad525b66e util/latex: get rid of many unnecessary curly braces 2015-04-19 11:08:00 +02:00
jos
349e9845e8 Merge branch 'develop' into v2_merge
Conflicts:
	HISTORY.md
	bower.json
	component.json
	dist/math.js
	dist/math.map
	dist/math.min.js
	docs/reference/units.md
	lib/version.js
	package.json
	test/function/construction/chain.test.js
	test/function/matrix/det.test.js
	test/function/matrix/transpose.test.js
	test/function/utils/import.test.js
2015-04-13 21:42:43 +02:00
jos
989fcc154b Refactored bitNot, bitOr, bitXor, leftShift, rightArithShift, rightLogShift to typed-functions. 2015-04-13 21:32:48 +02:00
Max Bruckner
92c27301ba util/latex: use map of operators in LaTeX conversion of functions 2015-04-05 14:29:16 +02:00
Max Bruckner
7adf0ebc53 LaTeX tests for functions 2015-04-05 14:29:10 +02:00
jos
004e80543e Halfway refactoring bitAnd 2015-02-24 20:39:51 +01: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
jos
fe694bfd12 Dropped string support for bitwise operators 2014-12-25 15:07:30 +01:00
Favian Contreras
6c21826b4b Prohibit usage of integers. 2014-12-16 02:56:15 -08:00
Favian Contreras
f36fbb3968 Added bitwise functions into the bignumber section of mathjs. Made more test cases as well. Shifts are not fully precise, but other bitwise opts are. 2014-12-15 01:02:41 -08:00
Favian Contreras
632eba954a Uncommented bignumber portions, and added bignumber test cases. 2014-12-09 12:53:41 -08:00
Favian Contreras
38fd1c6315 Add test cases to reflect previous error while using parseInt instead of unary plus; added test cases that included strings in scientific notation. 2014-12-08 10:31:06 -08:00
Favian Contreras
57079969e3 Renamed xor, removed string NaN failure (undefined behavior should be handled by js), and prohibited use of Units. 2014-11-27 06:16:37 -08:00
Favian Contreras
a6fa55122d Finished testing, and renamed some of the ops to avoid any future confusion with boolean ops. 2014-11-26 06:37:27 -08:00
Favian Contreras
37fe86d251 Finished successfully testing the and, or, xor trio. 2014-11-26 03:19:43 -08:00
Favian Contreras
3f94a673bd First "fully" tested function! (and.js) 2014-11-26 02:48:10 -08:00
Favian Contreras
b4fdea0341 Basic functionality for most bitwise functions, but only minor testing. Shifts not done yet. 2014-11-25 02:45:11 -08:00