Commit Graph

36 Commits

Author SHA1 Message Date
Juan Hernández Serrano 87b061a76e randBetween now accepts negative values for min and max based on suggestion from #11 2022-01-17 12:30:59 +01:00
Juanra Dikal 8cf28b7587 project migrated to typescript 2021-03-25 13:40:04 +01:00
juanelas ee20c7d313 updated usage instructions. updated deps 2020-11-12 12:04:13 +01:00
juanelas 0603d4cfd7 better testing 2020-09-22 23:34:28 +02:00
Juanra Dikal a2da4b0c4b Throw RangeError instead of returning NaN (which is not a bigint) 2020-05-29 17:33:07 +02:00
Juanra Dikal 0a12b744d8 removed bigint-mod-arith dependency to solve issues with webpack in Angular 9 2020-05-11 20:56:30 +02:00
juanelas 04cad8250b fixed browser tests 2020-04-21 02:41:32 +02:00
juanelas b3a90aa6bc more tests. Fixed some bugs. Added github actions 2020-04-21 00:50:53 +02:00
juanelas 0524f41a3f Examples of code. If a webview doesn't support Web Workers, they are not used 2020-04-08 17:09:52 +02:00
juanelas 70a32d0286 better dependencies 2020-04-08 00:21:02 +02:00
juanelas 6d6e8e7658 new tests for bitlengths that are not multiple of 8 2020-04-07 19:49:57 +02:00
juanelas 31af1f7e8a fixed API reference 2020-04-07 19:13:23 +02:00
juanelas 66b4d7fad1 deleted tests that are already performed in the bigint-mod-arith package 2020-04-07 17:08:24 +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 be910483f6 better packing for npn. better structure 2020-03-02 23:16:05 +01:00
juanelas f2e4954ec4 Browser tests now use the current mocha/chai versions. Pkg description updated 2020-02-29 01:10:07 +01:00
juanelas 5dbb6ddb93 updated readme: BigInt is now is es2020, instructions for typescript 2020-02-27 21:51:48 +01:00
juanelas a77349b73e more tests 2019-12-12 09:12:43 +01:00
juanelas 5e722ddb13 browser minified version removed due to a bug. More browser tests added. Fixed tests 2019-12-12 09:10:26 +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
Aisse-258 6f4f010e5b Tests for Max(a,b) and Min(a,b) 2019-07-14 13:02:25 +03: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 29b2665097 some small fixes 2019-05-27 16:42:46 +02:00
Juan Hernández Serrano 9b9cedf794 Browser tests now don't require dev dependencies 2019-05-09 19:25:31 +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 55daaa9414 tests with number 2019-05-04 18:40:57 +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
juanelas b6946216da Now test timing is more accurate 2019-04-23 11:33:48 +02:00
Juan Hernández Serrano 12a78d9495 more prime validation tests 2019-04-19 16:17:09 +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