Jeroen van Rijn
|
06cde91ba3
|
big: Enable Toom again.
|
2021-08-18 15:35:01 +02:00 |
|
Jeroen van Rijn
|
5fd7a5f32a
|
big: Fix signed multiplication for some inputs.
|
2021-08-18 15:24:43 +02:00 |
|
Jeroen van Rijn
|
3af078e941
|
Merge branch 'master' into bigint
|
2021-08-16 22:16:03 +02:00 |
|
Jeroen van Rijn
|
48c1f0ab59
|
big: Disable Toom for a moment.
|
2021-08-16 22:13:54 +02:00 |
|
Jeroen van Rijn
|
19386814b3
|
Merge pull request #1085 from Kelimion/bigint
Add `_private_int_mul_toom` + `_private_int_mul_karatsuba`.
|
2021-08-16 21:29:40 +02:00 |
|
Jeroen van Rijn
|
706e58c1c7
|
big: Add _private_int_mul_toom`.
|
2021-08-16 21:17:21 +02:00 |
|
gingerBill
|
df159dbae7
|
Add some missing files to sync2 for linux and darwin
|
2021-08-16 15:48:54 +01:00 |
|
Jeroen van Rijn
|
8b49bbb0fc
|
big: Add _private_mul_karatsuba.
|
2021-08-16 16:10:10 +02:00 |
|
gingerBill
|
e3fef2dade
|
Improve parsing for or_return; allow #force_inline foo() or_return;
|
2021-08-16 11:58:50 +01:00 |
|
gingerBill
|
f293d7c997
|
Update package encoding/json for or_return
|
2021-08-15 23:11:15 +01:00 |
|
gingerBill
|
4e1c9b71f4
|
Update core:odin/* for or_else and or_return
|
2021-08-15 19:05:55 +01:00 |
|
gingerBill
|
4035fec784
|
Add more uses of or_return
|
2021-08-15 18:13:56 +01:00 |
|
gingerBill
|
b071a07c86
|
Replace uses of err != nil with or_return where appropriate
|
2021-08-15 17:56:24 +01:00 |
|
gingerBill
|
c27b8a71fd
|
Replace err != nil with or_return where appropriate
|
2021-08-15 17:52:10 +01:00 |
|
gingerBill
|
21cbac755e
|
Make or_else and or_return operators (binary and suffix respectively)
|
2021-08-15 17:14:35 +01:00 |
|
gingerBill
|
7bbc9a4634
|
Add #any_int directive to replace auto_cast uses on parameters.
|
2021-08-15 12:56:59 +01:00 |
|
gingerBill
|
19aefa6a40
|
Add assignment statement to #no_bounds_check etc rules. Correct os_linux.odin usage.
|
2021-08-15 11:14:34 +01:00 |
|
gingerBill
|
effecf8595
|
Fix typo
|
2021-08-15 11:13:59 +01:00 |
|
gingerBill
|
9fb486b2ad
|
Merge branch 'master' of https://github.com/odin-lang/Odin
|
2021-08-15 11:08:35 +01:00 |
|
gingerBill
|
d70fa4329c
|
Move #no_bounds_check to before return
|
2021-08-15 11:08:28 +01:00 |
|
Jeroen van Rijn
|
3f29a0d6dd
|
Merge pull request #1078 from Kelimion/bigint
Add recursive division.
|
2021-08-14 15:58:27 +02:00 |
|
Jeroen van Rijn
|
0db86a0638
|
big: Add workaround for DLL globals bug.
|
2021-08-14 13:51:17 +02:00 |
|
Jeroen van Rijn
|
dc02566a84
|
big: Add _private_int_div_recursive.
|
2021-08-13 23:45:00 +02:00 |
|
Jeroen van Rijn
|
37be8d4091
|
big: Add internal_invmod.
|
2021-08-13 14:55:53 +02:00 |
|
gingerBill
|
a3930cb470
|
Improve fmt._user_formatters logic
|
2021-08-13 12:44:55 +01:00 |
|
Jeroen van Rijn
|
f72a0de074
|
big: Add inverse mod.
|
2021-08-13 01:41:33 +02:00 |
|
Jeroen van Rijn
|
eb22a49b02
|
big: Add int_from_bytes_*.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
ee24f2dd37
|
big: Improve int_to_bytes_*.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
12f9b6db63
|
big: Add int_to_bytes_{big, little} + Python compatible variants.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
851780b8f4
|
big: Add arguments and usage to test.py.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
5f34ff9f9f
|
big: Add _private_int_sqr_toom.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
2b274fefbb
|
big: Add _private_int_sqr_karatsuba.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
6c681b258c
|
big: Add _private_int_sqr_comba.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
1f91a2fe65
|
big: Finish refactor.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
19ff27788c
|
big: Refactoring.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
1ebb0bd9d6
|
big: More refactoring.
|
2021-08-11 20:59:54 +02:00 |
|
Jeroen van Rijn
|
d505a05d36
|
big: More refactoring.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
07dca737f0
|
big: More refactoring.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
6d34a8344a
|
big: Refactor helpers.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
40b7b9ecdf
|
big: Refactor exponents and such.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
53bf66ce1e
|
big: Prettify internal_cmp_digit.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
fd95f50c56
|
big: Split up int_is_* comparison tests.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
777e17d80f
|
big: Improve tunables.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
d4a03acbc3
|
big: Split up int_mod_bits (res = val % (1 << bits))
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
c3db24f834
|
big: Split up gcd + lcm.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
62dcccd7ef
|
big: Move division internals.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
e288a563e1
|
big: Move _mul private functions.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
6298226238
|
big: Switch choose over to internal implementations.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
9321616c80
|
big: Split more into public and internal.
|
2021-08-11 20:59:53 +02:00 |
|
Jeroen van Rijn
|
9890e7cfeb
|
big: Improved zero_unused helper.
|
2021-08-11 20:59:53 +02:00 |
|