Eugene Kabanov
|
9d2b382c5d
|
Fix GCC-14 [-Wincompatible-pointer-types] issue. (#153)
|
2024-05-23 06:31:45 +02:00 |
andri lim
|
379901ad36
|
Fix pointer deref issue on Macos and Nim >= 2.0 (#152)
|
2024-05-20 23:39:33 +07:00 |
tersec
|
3c238df6cd
|
fix noInit to noinit; use evergreen GitHub Actions image versions (#151)
|
2024-03-13 04:45:06 +00:00 |
Jacek Sieka
|
711cda4456
|
add native nim mode (#142)
* add native nim mode
* don't try to link wasm-c code
|
2023-09-25 16:49:04 +02:00 |
jangko
|
bfa299f3ae
|
Fix compilation failure for arch other than amd64/i386
|
2023-09-12 19:51:30 +07:00 |
jangko
|
ea02d7db68
|
more custom literal tests and overflow check
|
2023-07-07 17:57:14 +07:00 |
jangko
|
8c1e43f001
|
fix shlAddMod SIGFPE bug
|
2023-06-22 16:43:31 +07:00 |
jangko
|
6480939dcd
|
conversion between big integers
|
2023-06-20 14:59:26 +07:00 |
jangko
|
4a3f300bd6
|
fix stuint truncate on 32bit platform
|
2023-06-19 18:27:49 +07:00 |
jangko
|
13a9d31f9a
|
rename imp to impl
|
2023-06-15 14:31:59 +07:00 |
jangko
|
747978e1e5
|
fix misleading comments
|
2023-06-15 14:08:27 +07:00 |
jangko
|
6a79fcb25b
|
remove unused files
|
2023-06-15 14:07:40 +07:00 |
jangko
|
41bfed6bb7
|
io test
|
2023-06-14 22:26:44 +07:00 |
jangko
|
6371b66030
|
nim devel emit codegen workaround
|
2023-06-14 18:13:07 +07:00 |
jangko
|
21eeee72df
|
nimvm bug workaround
|
2023-06-14 17:41:02 +07:00 |
jangko
|
ddcb2111e4
|
fix bugs found by nim-devel
|
2023-06-14 13:53:42 +07:00 |
jangko
|
c748d9afb7
|
fix style type
|
2023-06-14 09:52:56 +07:00 |
jangko
|
fb797d225e
|
signed int initialization
|
2023-06-13 19:51:49 +07:00 |
jangko
|
76b2baad6f
|
signed int signedness
|
2023-06-13 19:09:43 +07:00 |
jangko
|
8c5a96463c
|
nimvm workaround for primitives
|
2023-06-13 08:35:35 +07:00 |
jangko
|
7ce536423a
|
disable dot borrow temporary
|
2023-06-13 08:15:04 +07:00 |
jangko
|
0dc6afe9d4
|
let the tests compileable and run
|
2023-06-12 21:07:15 +07:00 |
jangko
|
63a32129c8
|
rebase and try to make it works with clients
|
2023-06-12 20:26:36 +07:00 |
Mamy Ratsimbazafy
|
27e9c9e441
|
Add randomized testing, harden against edge cases
|
2023-06-12 17:12:43 +07:00 |
Mamy Ratsimbazafy
|
4660dfe4a4
|
Use littleEndian for limb-endianness: bigEndian arch are very rare, untestable in CI, a pain to maintain and an intermediate serialization step instead of casting is cheap
|
2023-06-12 17:11:14 +07:00 |
Mamy Ratsimbazafy
|
7efa2483e4
|
Division/modulo implemented - pass property-based testing vs ttmath
|
2023-06-12 17:11:13 +07:00 |
Mamy Ratsimbazafy
|
53d2fd14f3
|
uint division - compile and pass the single limb tests
|
2023-06-12 17:11:13 +07:00 |
Mamy Ratsimbazafy
|
c2ed8a4bc2
|
stash div refactor
|
2023-06-12 17:11:09 +07:00 |
Mamy André-Ratsimbazafy
|
f952314c21
|
dump progress
|
2023-06-12 17:08:22 +07:00 |
Mamy André-Ratsimbazafy
|
dd3ab71029
|
For division we need internal add/sub/shift/bitwise so create internal files [skip-ci]
|
2023-06-12 17:08:21 +07:00 |
Mamy André-Ratsimbazafy
|
dc9e0a43ca
|
Implement exponentiation, test mul, split mul/div tests
|
2023-06-12 17:08:21 +07:00 |
Mamy André-Ratsimbazafy
|
195480d58a
|
passing compile-time bitwise tests (but not runtime :?)
|
2023-06-12 17:08:20 +07:00 |
Mamy André-Ratsimbazafy
|
777a84e9f5
|
Implement toHex/fromHex and fix `shl`
|
2023-06-12 17:08:20 +07:00 |
Mamy André-Ratsimbazafy
|
2ac1ee3f1e
|
Fix compiletime primitives to pass all bitwise tests except large shifts
|
2023-06-12 17:08:20 +07:00 |
Mamy André-Ratsimbazafy
|
7f6c588ce3
|
Passing addition tests (however simple bitwise ops crash the int128 VM ... during compilation)
|
2023-06-12 17:08:20 +07:00 |
Mamy André-Ratsimbazafy
|
a0dec54c12
|
Implement multiplication
|
2023-06-12 17:08:20 +07:00 |
Mamy André-Ratsimbazafy
|
206ffa92cf
|
Implement multiprecision addition / substraction
|
2023-06-12 17:08:19 +07:00 |
Mamy André-Ratsimbazafy
|
cbbffe4e9c
|
reimplement bitwise
|
2023-06-12 17:08:19 +07:00 |
Mamy André-Ratsimbazafy
|
36cc2b2e02
|
Implement comparison
|
2023-06-12 17:08:19 +07:00 |
Mamy André-Ratsimbazafy
|
de87739635
|
Implement types and uint128 primitives
|
2023-06-12 17:08:19 +07:00 |
tersec
|
95b91474ce
|
remove Nim 1.2 and 1.4 support
|
2023-06-08 11:08:27 +00:00 |
tersec
|
86621eced1
|
remove pre-Nim 1.2 support (#127)
|
2023-06-05 11:42:36 +00:00 |
jangko
|
493f31de63
|
reduce compiler warnings
|
2023-02-23 12:09:45 +07:00 |
tersec
|
3472a16fbc
|
avoid deprecation warnings on Nim 1.6 when using (#121)
|
2023-02-07 13:41:40 +01:00 |
Jacek Sieka
|
c05f75a8da
|
comment style fix
|
2022-04-07 09:53:11 +02:00 |
Kim De Mey
|
e656ad40d1
|
Enable --styleCheck:usages (#118)
|
2022-02-24 20:09:53 +01:00 |
Timothee Cour
|
484031fdff
|
fix stint for https://github.com/nim-lang/Nim/pull/18050
|
2021-07-01 13:16:07 +03:00 |
andri lim
|
2b5d083dac
|
fixes 32bit problem
|
2019-10-25 19:54:41 +03:00 |
andri lim
|
7fe4db62dc
|
add compiletime test for signed int dumphex
|
2019-10-25 19:54:41 +03:00 |
andri lim
|
0ee6dc5c6a
|
convert runtime signed int mul to vm friendly
|
2019-10-23 21:55:47 +09:00 |