Jeroen van Rijn
|
6d07bd3299
|
Merge pull request #1119 from Kelimion/bigint
big: Add Lucas-Selfridge primality test
|
2021-09-04 00:04:22 +02:00 |
|
Jeroen van Rijn
|
52da5b8724
|
big: Default to Frobenius-Underwood. It's 10% faster than Lucas-Selfridge.
|
2021-09-03 23:54:54 +02:00 |
|
Jeroen van Rijn
|
b1ed7fc6b9
|
big: Add Lucas-Selfridge.
|
2021-09-03 23:54:54 +02:00 |
|
gingerBill
|
e3809f5c1b
|
Allow comparisons of any if reflect.equal if including_indirect_array_recursion is enabled
|
2021-09-03 15:52:47 +01:00 |
|
gingerBill
|
4b7dcc1513
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2021-09-03 15:49:35 +01:00 |
|
gingerBill
|
c9f4fdc856
|
Update reflect.equal to support more types
|
2021-09-03 15:49:29 +01:00 |
|
Jeroen van Rijn
|
8178a2e7ce
|
Merge pull request #1118 from Kelimion/bigint
big: Fix internal_int_mod for inputs with opposite signs.
|
2021-09-03 14:52:35 +02:00 |
|
Jeroen van Rijn
|
70e12f7a1c
|
big: Fix internal_int_mod for inputs with opposite signs.
This threw off Frobenius-Underwood.
|
2021-09-03 14:50:26 +02:00 |
|
gingerBill
|
11ae87cc2f
|
Add including_indirect_array_recursion argument to reflect.equal
|
2021-09-03 12:00:43 +01:00 |
|
gingerBill
|
b0f1b1ca16
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2021-09-03 11:02:38 +01:00 |
|
gingerBill
|
7ed4f01d02
|
Add reflect.equal and reflect.not_equal
|
2021-09-03 11:02:31 +01:00 |
|
Jeroen van Rijn
|
07f7d14d2c
|
Merge pull request #1117 from Kelimion/bigint
big: Add Frobenius-Underwood, Miller-Rabin and primality testing.
|
2021-09-03 01:39:58 +02:00 |
|
Jeroen van Rijn
|
eecc786bd2
|
big: Add Frobenius-Underwood.
|
2021-09-03 01:25:18 +02:00 |
|
Jeroen van Rijn
|
7fa04fa018
|
big: Fix M-R.
|
2021-09-02 19:59:59 +02:00 |
|
Jeroen van Rijn
|
31918d3b8f
|
big: Add internal_int_is_prime.
|
2021-09-02 18:31:08 +02:00 |
|
Jeroen van Rijn
|
e639c61499
|
big: Add Miller-Rabin.
|
2021-09-01 22:06:07 +02:00 |
|
Jeroen van Rijn
|
e2f035d6ee
|
Merge pull request #1113 from Kelimion/bigint
big: Add `expt_mod`, new comparison helpers, etc.
|
2021-09-01 19:25:52 +02:00 |
|
Jeroen van Rijn
|
ae354731ed
|
big: Add ; after proc map.
|
2021-09-01 19:18:13 +02:00 |
|
Jeroen van Rijn
|
671b413b15
|
big: Use new comparison helpers.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
335d361fc6
|
big: Add comparison helpers.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
df29d10210
|
big: Add internal_int_kronecker.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
fd83cbf40b
|
big: Add ilog2.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
7d7ed6b95f
|
big: Add internal_int_exponent_mod.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
a056e19434
|
big: Cue up internal_int_exponent_mod wrapper function.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
7d0dedf951
|
big: Add Diminished Radix reduction.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
ee04fb1ce1
|
big: Remove temporary prints.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
2110778040
|
big: Add internal_int_exponent_mod_fast.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
65a15e9c06
|
big: Add internal_int_exponent_mod.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
c3a70ac277
|
Big: Added Barrett reduction setup.
|
2021-09-01 19:13:47 +02:00 |
|
Jeroen van Rijn
|
5e520f4e08
|
big: Add reduce_2k.
|
2021-09-01 19:13:47 +02:00 |
|
gingerBill
|
b2cf0755f2
|
Add vendor to nightly.yml
dev-2021-09
|
2021-09-01 13:08:26 +01:00 |
|
gingerBill
|
720884e0f1
|
Strip even more semicolons if followed by a } or ) on the same line
|
2021-08-31 23:47:57 +01:00 |
|
gingerBill
|
773a766b83
|
Strip semicolon if followed by a } or ) on the same line
|
2021-08-31 23:47:20 +01:00 |
|
gingerBill
|
169e717021
|
Remove debug message
|
2021-08-31 22:49:18 +01:00 |
|
gingerBill
|
72a741554c
|
Remove unneeded semicolons from demo
|
2021-08-31 22:45:26 +01:00 |
|
gingerBill
|
cd09068e33
|
Correct parsing rules for #assert directives for semicolons
|
2021-08-31 22:45:08 +01:00 |
|
gingerBill
|
cd4687cb13
|
Delete unneeded demo
|
2021-08-31 22:34:22 +01:00 |
|
gingerBill
|
b810781368
|
Remove unneeded semicolon from examples/demo and examples/all
|
2021-08-31 22:33:53 +01:00 |
|
gingerBill
|
82f58aa3de
|
Remove unneeded semicolons from vendor
|
2021-08-31 22:33:19 +01:00 |
|
gingerBill
|
f57201bbd1
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:32:53 +01:00 |
|
gingerBill
|
2db6fea665
|
Remove dead code and add debug messages
|
2021-08-31 22:31:43 +01:00 |
|
gingerBill
|
b450a853d5
|
Strip unneeded semicolons from vendor library
|
2021-08-31 22:26:58 +01:00 |
|
gingerBill
|
251da264ed
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:21:13 +01:00 |
|
gingerBill
|
b176af2742
|
Add semicolon stripping command: odin strip-semicolon, has the same parameters as odin check
|
2021-08-31 22:20:36 +01:00 |
|
gingerBill
|
1fff96e088
|
Make -insert-semicolon the default now
|
2021-08-31 21:13:53 +01:00 |
|
gingerBill
|
d399d2256b
|
Change to [^][N] to just [^]
|
2021-08-31 20:39:32 +01:00 |
|
Jeroen van Rijn
|
27fd702692
|
Merge pull request #1111 from Kelimion/libtommath
Slim down LibTomMath compile.
|
2021-08-29 16:01:42 +02:00 |
|
gingerBill
|
5f29288254
|
Remove Syscall type
|
2021-08-29 15:00:35 +01:00 |
|
gingerBill
|
7c108dbf48
|
Update usage of syscall to use the intrinsics
|
2021-08-29 14:56:47 +01:00 |
|
Jeroen van Rijn
|
5c7cb393dc
|
Slim down LibTomMath compile.
|
2021-08-29 15:54:56 +02:00 |
|