Jeroen van Rijn
|
48bfce2efc
|
demo: Fix typo.
|
2021-09-06 23:32:32 +02:00 |
|
Jeroen van Rijn
|
5619b349be
|
big: Remove core:fmt usage + Add a little demo to examples/demo.
|
2021-09-06 23:26:19 +02:00 |
|
Jeroen van Rijn
|
b0edac58b9
|
Merge pull request #1128 from Kelimion/semicolons
compress: Update BSD-3 license + remove semicolons from compressed ex…
|
2021-09-06 21:37:09 +02:00 |
|
Jeroen van Rijn
|
2c13315e72
|
compress: Update BSD-3 license + remove semicolons from compressed example.
|
2021-09-06 21:33:40 +02:00 |
|
gingerBill
|
0434281f73
|
Strip semicolons; Make odin strip-semicolon replace .. with ..= if used as a binary operator
|
2021-09-06 20:15:59 +01:00 |
|
gingerBill
|
3bf005bfc5
|
Remove redundant semicolons from comments
|
2021-09-06 20:05:41 +01:00 |
|
gingerBill
|
adcb39ef29
|
Update tag line
|
2021-09-06 19:52:36 +01:00 |
|
gingerBill
|
3ebfaf5f4c
|
Update README.md
|
2021-09-06 19:50:08 +01:00 |
|
gingerBill
|
97a1147537
|
Correct fix to heap_allocator_proc in compiler
|
2021-09-06 19:34:44 +01:00 |
|
gingerBill
|
b63d49aafa
|
Merge pull request #1112 from odin-lang/optional-semicolons
Optional Semicolons
|
2021-09-06 19:29:08 +01:00 |
|
Jeroen van Rijn
|
db8f0874bd
|
Merge pull request #1127 from Kelimion/examples
examples: Add `libc` to `examples/all`.
|
2021-09-06 18:45:44 +02:00 |
|
Jeroen van Rijn
|
3ac12a4edf
|
examples: Add libc to examples/all.
|
2021-09-06 18:42:26 +02:00 |
|
gingerBill
|
f5615b204c
|
Minor fix to heap_allocator_proc in common_memory.cpp
|
2021-09-06 16:50:13 +01:00 |
|
gingerBill
|
2800d4b8d0
|
Merge branch 'master' into optional-semicolons
|
2021-09-06 16:46:57 +01:00 |
|
gingerBill
|
bc15ce302c
|
Add dummy docs for intrinsics.syscall on Linux and Darwin
|
2021-09-06 15:49:51 +01:00 |
|
gingerBill
|
31f779f1a4
|
intrinsics.alloca now returns [^]u8
|
2021-09-06 15:45:05 +01:00 |
|
gingerBill
|
a3a891a7f4
|
Add intrinsics.is_package_imported(<string>)
|
2021-09-06 15:41:09 +01:00 |
|
Jeroen van Rijn
|
b31a24e5e8
|
Merge pull request #1126 from Kelimion/bigint
Add `internal_int_(pack, unpack)`.
|
2021-09-06 13:02:50 +02:00 |
|
Jeroen van Rijn
|
de5d897b5c
|
Add internal_int_(pack, unpack).
|
2021-09-06 12:57:48 +02:00 |
|
Jeroen van Rijn
|
7db0c50e63
|
Merge pull request #1124 from Kelimion/bigint
big: Add ASCII file import/export.
|
2021-09-05 15:54:01 +02:00 |
|
Jeroen van Rijn
|
3faac14d62
|
big: Add ASCII file import/export.
|
2021-09-05 15:50:23 +02:00 |
|
Jeroen van Rijn
|
b2fa4ec675
|
Merge pull request #1123 from Kelimion/bigint
big: Add Extended Euclidean algorithm.
|
2021-09-05 14:07:14 +02:00 |
|
Jeroen van Rijn
|
f33d0725db
|
big: Add Extended Euclidean algorithm.
|
2021-09-05 14:03:02 +02:00 |
|
Jeroen van Rijn
|
b45842c33f
|
Merge pull request #1122 from Kelimion/bigint
big: Add `internal_random_prime`.
|
2021-09-05 10:41:50 +02:00 |
|
Jeroen van Rijn
|
1f5ce91ae2
|
big: Add internal_random_prime.
|
2021-09-05 10:40:35 +02:00 |
|
Jeroen van Rijn
|
d7627744da
|
Merge pull request #1121 from Kelimion/bigint
big: Add `internal_int_prime_next_prime`.
|
2021-09-04 16:43:43 +02:00 |
|
Jeroen van Rijn
|
f2c5c26f2c
|
big: Add internal_int_prime_next_prime.
|
2021-09-04 16:31:05 +02:00 |
|
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 |
|