11 Commits

Author SHA1 Message Date
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