1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Favian Contreras
fad2446f27 Did not apply change to one of the shifts. 2014-12-08 13:12:18 -08:00
Favian Contreras
35052bdac5 Memoized powers of two for bitwise ops (all except for NOT). 2014-12-08 12:59:57 -08:00
Favian Contreras
c3fd516671 Shortened test lengths, and made the shifts slightly faster. 2014-12-08 03:05:05 -08:00
Favian Contreras
dd381f11c7 All completed. It's a little slow, so I will try something new. 2014-12-07 01:54:50 -08:00
Favian Contreras
65eb4aae51 Fully tested NOT, all that is left are the shifts. 2014-12-04 21:56:29 -08:00
Favian Contreras
b9287583e6 Fixed bitwise gate ops. Will test NOT soon, and will finish the shifts. 2014-12-04 21:21:54 -08:00
Favian Contreras
c0ca644b6b Finally created good test cases, shrunk bitwise code a bit, updated infinite corner cases for or.js, and still having precision problems. 2014-12-03 05:17:10 -08:00
Favian Contreras
316b416bf4 No longer use bits to express output. Still need to streamline the xBits and yBits (aka remove the usage of toString(2)), but hopefully the owner can help on that part. 2014-12-02 14:43:09 -08:00
Favian Contreras
bed0e20df3 Added testGen file, and or test file. 2014-12-01 05:05:22 -08:00
Favian Contreras
c671ef841c Re-added older style that only worked for positive numbers, just in case it's faster. 2014-12-01 04:55:58 -08:00
Favian Contreras
f7cee42cba Initial addition of bitwise functions; will add tests soon. 2014-11-24 04:42:38 -08:00
Favian Contreras
6ece3c863e Revert "Initial addition of bitwise functions; will add tests soon."
This reverts commit 8df8c45b41.
2014-11-24 04:32:11 -08:00
Favian Contreras
8df8c45b41 Initial addition of bitwise functions; will add tests soon. 2014-11-24 04:25:49 -08:00
Michael Mclaughlin
8ca98c1735 Travis CI 2014-11-11 10:44:42 +00:00
Michael Mclaughlin
8d7a9969de v4.0.0 toFormat amended 2014-11-10 16:00:14 +00:00
Michael Mclaughlin
67bb6b838f v3.0.1 2014-06-08 23:17:31 +01:00
Michael Mclaughlin
aed581dfb6 try catch crypto require 2014-06-08 23:08:33 +01:00
Michael Mclaughlin
e02587a173 v3.0.0 2014-06-04 23:59:07 +01:00
Michael Mclaughlin
7524fbaefe v2.1.0 Amend UMD for browserify 2014-06-04 23:07:51 +01:00
Michael Mclaughlin
cb4c245896 v2.0.3 2014-05-08 19:30:40 +01:00
Michael Mclaughlin
800cef4c1f Fix NaN toNumber 2014-05-08 19:27:25 +01:00
Michael Mclaughlin
ba0ca1ee14 v2.0.2 2014-04-30 17:42:49 +01:00
Michael Mclaughlin
f68b25fdc8 Correct doc links 2014-04-30 17:28:20 +01:00
Michael Mclaughlin
8bf858ab59 v2.0.1 2014-04-10 19:55:23 +01:00
Michael Mclaughlin
b141f3480d v2.0.0
Avoid potential confusion over the round method: ceil, floor, round and
trunc no longer accept arguments and so they match their JS Math object
equivalents. Removed toInteger as round now handles rounding to integer. Added
toSignificantDigits as round no longer rounds to precision. Updated tests
accordingly. Calling config without argument no longer throws.
2014-04-10 19:30:38 +01:00
Michael Mclaughlin
714eb63369 Minor doc clean-up. v1.0.1 2014-04-07 17:17:26 +01:00
Michael Mclaughlin
b92f900a93 Initial commit 2014-04-02 16:28:08 +01:00