Commit Graph

40 Commits

Author SHA1 Message Date
juanelas c52d54f66b randBitsSync 2020-04-07 19:29:23 +02:00
juanelas d2a21a818f Now the bundle can be mangled. Multi-threaded uses all CPUs but 1. Readme improvements 2020-04-07 17:03:30 +02:00
juanelas 4758f28ef0 shorter but better readme 2020-04-06 14:17:24 +02:00
juanelas 6cfee0efca fixed readme 2020-04-06 13:38:52 +02:00
juanelas 4e52ea75e6 JS Standard. Some fixes with the test. Better structure 2020-04-06 13:34:03 +02:00
juanelas c29b520108 JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
juanelas d4ee54748b fixed JS Doc and typescript definitions 2020-03-25 00:34:22 +01:00
juanelas 5d2e2a7fd0 TypeScript definitions. Browser module defaults to minified ES6 2020-03-03 09:36:04 +01:00
juanelas faf6f5023d BigInt is ES-2020 2020-03-02 11:08:40 +01:00
juanelas 5dbb6ddb93 updated readme: BigInt is now is es2020, instructions for typescript 2020-02-27 21:51:48 +01:00
juanelas e0713c541e fixed documentation 2019-12-20 17:07:32 +01:00
juanelas 1fbb01815e README patched 2019-12-12 10:12:53 +01:00
juanelas 84c8909174 browser minified version removed due to a bug. More browser tests added. 2019-12-12 09:03:42 +01:00
juanelas 743b483072 Updated dependencies and fixed issue with default values in README 2019-12-09 13:14:47 +01:00
Juan Hernández Serrano ace7d479ee added sync version of prime 2019-10-09 14:56:11 +02:00
Juan Hernández Serrano 19dd8b6491 added sync version of prime 2019-10-09 14:17:03 +02:00
Juan Hernández Serrano f44f44d74d updated devDependencies. Fixed format 2019-07-20 10:45:02 +02:00
Juan Hernández Serrano 24b2677bfd modPow() comments 2019-05-29 17:45:36 +02:00
Juan Hernández Serrano 9cdf125c6f Slight modification of modPow(). Some non-important fixes 2019-05-29 17:44:18 +02:00
Juan Hernández Serrano 4997dc8093 typo 2019-05-24 12:01:20 +02:00
Juan Hernández Serrano 29cb31c1fa Fixed issue #1 - gcd works incorrect with 0. Some extra sanitizing 2019-05-09 09:39:12 +02:00
Juan Hernández Serrano abf020f06e also check if a number (not only a BigInt) is prime 2019-05-04 18:29:09 +02:00
Juan Hernández Serrano 1ffd1f949d More tests. Fixed bug in modInv(a,n) when a was < 0 2019-05-04 18:08:30 +02:00
Juan Hernández Serrano 42a0aba89a bitLength() is also exported (it could be useful) 2019-04-29 12:34:20 +02:00
Juan Hernández Serrano e572e9dba8 If it is not truly async then sync 2019-04-29 12:29:23 +02:00
juanelas 3f571c9dd6 If it is not truly async then is sync 2019-04-26 15:03:53 +02:00
Juan Hernández Serrano 292c78dc5a fixed line wrapping in README.hbs 2019-04-25 17:28:42 +02:00
juanelas 4069f4a335 fixed typo 2019-04-23 15:22:48 +02:00
juanelas b6946216da Now test timing is more accurate 2019-04-23 11:33:48 +02:00
Juan Hernández Serrano e612f1eb82 Fixed typo 2019-04-21 09:42:10 +02:00
Juan Hernández Serrano 3f7caf4572 Fixed typo 2019-04-21 09:39:28 +02:00
Juan Hernández Serrano b141a7ebce Fixed typo 2019-04-21 09:25:08 +02:00
Juan Hernández Serrano 021eeb3518 Better README 2019-04-20 22:27:56 +02:00
Juan Hernández Serrano 16804c1c22 Better README 2019-04-20 22:25:39 +02:00
Juan Hernández Serrano f48ae77485 Better JSDoc 2019-04-20 22:21:41 +02:00
Juan Hernández Serrano c99d649646 Fixed typo in README 2019-04-20 22:16:58 +02:00
Juan Hernández Serrano f2d6043ee7 ready for node worker threads 2019-04-20 22:11:44 +02:00
Juan Hernández Serrano de00327fd8 better README 2019-04-19 16:40:11 +02:00
Juan Hernández Serrano 788bcd219f Working! 2019-04-19 12:04:06 +02:00
Juan Hernández Serrano faefecc21d working with worker file 2019-04-19 09:42:28 +02:00