This website requires JavaScript.
e902e9482b
use the common CI workflow
new-workflow
narimiran
2024-11-11 19:23:53 +0100
f572d97d70
Merge 19dec3ecd1
into 3236fa6839
Miran
2024-10-23 08:58:49 +0200
19dec3ecd1
Merge branch 'master' into use-nim-2.2
use-nim-2.2
Miran
2024-10-23 08:58:47 +0200
3236fa6839
Replace `apt-fast` with `apt-get` (#159 )
master
Etan Kissling
2024-10-15 17:48:30 +0200
aae241e443
Remove GCC 10 override (cross-checked with @tersec)
Etan Kissling
2024-10-15 17:07:39 +0200
d863941768
Replace `apt-fast` with `apt-get`
Etan Kissling
2024-10-15 15:37:37 +0200
98bbc71450
update ci.yml to test Nim 2.2; also test gcc-14
narimiran
2024-09-10 15:39:21 +0200
d0fa142e71
Merge d689650c3f
into 7c81df9adc
andri lim
2024-07-09 13:08:01 -0300
7c81df9adc
fix modmul 256-bit perf (#156 )
Jacek Sieka
2024-07-09 15:35:08 +0200
f5ebee1c6e
fix modmul 256-bit perf
Jacek Sieka
2024-07-09 14:44:07 +0200
9a3348bd44
hash limbs instead of bytes (#155 )
Jacek Sieka
2024-06-17 15:40:09 +0200
eea186bdf7
hash limbs instead of bytes
Jacek Sieka
2024-06-17 10:30:48 +0200
d689650c3f
Allow SomeSignedInt and SomeUnsignedInt as literal operand
uint-lit
jangko
2024-06-12 08:49:42 +0700
98cef5e1b2
Merge a8418ac2e9
into 9d2b382c5d
Jacek Sieka
2024-05-23 16:23:07 +0200
a8418ac2e9
Merge branch 'master' into ct-fixes
ct-fixes
Jacek Sieka
2024-05-23 16:23:04 +0200
9d2b382c5d
Fix GCC-14 [-Wincompatible-pointer-types] issue. (#153 )
Eugene Kabanov
2024-05-23 07:31:45 +0300
592160fffc
Fix GCC-14 [-Wincompatible-pointer-types] issue.
cheatfate
2024-05-22 13:57:24 +0300
379901ad36
Fix pointer deref issue on Macos and Nim >= 2.0 (#152 )
andri lim
2024-05-20 23:39:33 +0700
45513035af
Fix pointer deref issue on Macos and Nim >= 2.0
jangko
2024-05-20 22:54:14 +0700
3c238df6cd
fix noInit to noinit; use evergreen GitHub Actions image versions (#151 )
tersec
2024-03-13 04:45:06 +0000
2e8d408dcd
fix noInit to noinit; use evergreen GitHub Actions image versions
tersec
2024-03-13 03:50:35 +0000
7bb0ccc784
Upgrade github actions to v4 (#149 )
andri lim
2024-02-27 19:55:11 +0700
574c563632
Upgrade github actions to v4
jangko
2024-02-27 11:08:56 +0700
e639ba700c
Make decimal string parser raise ValueError instead of RangeDefect. (#148 )
Eugene Kabanov
2024-02-27 02:36:02 +0200
eee8d8742e
Get some fixes in place.
cheatfate
2024-02-27 01:02:25 +0200
3d3e941aba
Fix decimal parser helper to raise ValueError instead of RangeDefect.
cheatfate
2024-02-27 00:49:13 +0200
1df19f7f97
Add character check and add tests.
checked-parser
cheatfate
2023-10-17 04:25:48 +0300
923ee80009
Add non-assertion parser for STUint.
cheatfate
2023-10-17 00:26:18 +0300
bf4774b7f5
use commit for unittest2 dep
Jacek Sieka
2023-09-27 11:03:21 +0200
0101f4c449
fix compile-time hash, port to unittest2
Jacek Sieka
2023-09-27 10:55:57 +0200
711cda4456
add native nim mode (#142 )
Jacek Sieka
2023-09-25 16:49:04 +0200
e7cdba6ab0
don't try to link wasm-c code
Jacek Sieka
2023-09-20 15:37:51 +0200
25522e401c
add native nim mode
Jacek Sieka
2023-09-19 17:39:38 +0200
54e24cae41
Disable test that crash with debug cpp nimRawSetJmp on nim v2
jangko
2023-09-12 21:07:50 +0700
342c7a786b
Switch to llvm-mingw on Windows CI for faster runtime
jangko
2023-09-12 19:52:29 +0700
bfa299f3ae
Fix compilation failure for arch other than amd64/i386
jangko
2023-09-12 19:51:30 +0700
d198ec031e
test against intx library
jangko
2023-07-07 08:59:38 +0700
ea02d7db68
more custom literal tests and overflow check
jangko
2023-07-07 17:57:14 +0700
e374311f70
add custom literal feature
jangko
2023-07-07 13:22:22 +0700
3e9d64c896
fix skipPrefixes bug
jangko
2023-07-07 12:56:30 +0700
7fc30a8f1c
enable randomized divmod tests
jangko
2023-06-23 07:46:16 +0700
c5955f7e97
fix broken io test on 32 bit
jangko
2023-06-22 22:54:22 +0700
025428d0ae
tidying up tests
jangko
2023-06-22 22:31:12 +0700
8c1e43f001
fix shlAddMod SIGFPE bug
jangko
2023-06-22 16:43:31 +0700
19e0ac6268
export toBytesBE, toBytesLE
jangko
2023-06-21 15:25:29 +0700
3ef8d0027a
add fromDecimal to io
jangko
2023-06-20 21:39:37 +0700
e99bc7ff89
add signed int modular arithmetic and tests
jangko
2023-06-20 21:38:02 +0700
867739d2ca
more endians2 implementation and tests
jangko
2023-06-20 19:45:49 +0700
80ccea2643
fix conversion raises, inlining, and min/max test
jangko
2023-06-20 18:27:17 +0700
6480939dcd
conversion between big integers
jangko
2023-06-20 14:59:26 +0700
4a3f300bd6
fix stuint truncate on 32bit platform
jangko
2023-06-19 18:27:49 +0700
140afc31ab
fix stuint truncate
jangko
2023-06-19 17:20:54 +0700
13a9d31f9a
rename imp to impl
jangko
2023-06-15 14:31:59 +0700
747978e1e5
fix misleading comments
jangko
2023-06-15 14:08:27 +0700
6a79fcb25b
remove unused files
jangko
2023-06-15 14:07:40 +0700
c6422a9439
fix signed integer truncate for 32 bit platform
jangko
2023-06-15 13:10:58 +0700
41bfed6bb7
io test
jangko
2023-06-14 22:26:44 +0700
6371b66030
nim devel emit codegen workaround
jangko
2023-06-14 18:13:07 +0700
21eeee72df
nimvm bug workaround
jangko
2023-06-14 17:41:02 +0700
ddcb2111e4
fix bugs found by nim-devel
jangko
2023-06-14 13:53:42 +0700
1ce276db1e
bug 92 workaround
jangko
2023-06-14 13:22:52 +0700
c748d9afb7
fix style type
jangko
2023-06-14 09:52:56 +0700
79ad349fb5
cleanup tests
jangko
2023-06-14 09:41:01 +0700
7b7db2a73a
signed int exp
jangko
2023-06-14 08:31:28 +0700
1657d841e7
cleanup some code
jangko
2023-06-14 08:06:44 +0700
8ea95078f4
signed int addsub
jangko
2023-06-14 07:38:23 +0700
f2959e5135
signed int bitwise
jangko
2023-06-13 22:17:43 +0700
612ecb3d9b
signed int comparison
jangko
2023-06-13 21:53:19 +0700
f07f574944
fix comparison
jangko
2023-06-13 20:39:22 +0700
fb797d225e
signed int initialization
jangko
2023-06-13 19:51:49 +0700
76b2baad6f
signed int signedness
jangko
2023-06-13 19:03:43 +0700
8c5a96463c
nimvm workaround for primitives
jangko
2023-06-13 08:35:35 +0700
7ce536423a
disable dot borrow temporary
jangko
2023-06-13 08:14:52 +0700
e5c352fde2
fix stuint constructor
jangko
2023-06-13 08:13:39 +0700
0dc6afe9d4
let the tests compileable and run
jangko
2023-06-12 21:07:15 +0700
63a32129c8
rebase and try to make it works with clients
jangko
2023-06-09 15:46:21 +0700
bff69b3f98
Add randomized testing vs GMP
Mamy Ratsimbazafy
2022-01-31 23:30:45 +0100
27e9c9e441
Add randomized testing, harden against edge cases
Mamy Ratsimbazafy
2022-01-25 23:12:52 +0100
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
Mamy Ratsimbazafy
2022-01-23 22:45:47 +0100
7efa2483e4
Division/modulo implemented - pass property-based testing vs ttmath
Mamy Ratsimbazafy
2022-01-23 21:39:26 +0100
53d2fd14f3
uint division - compile and pass the single limb tests
Mamy Ratsimbazafy
2022-01-22 01:42:54 +0100
c2ed8a4bc2
stash div refactor
Mamy Ratsimbazafy
2022-01-12 18:25:55 +0100
f952314c21
dump progress
Mamy André-Ratsimbazafy
2021-08-06 14:44:25 +0200
dd3ab71029
For division we need internal add/sub/shift/bitwise so create internal files [skip-ci]
Mamy André-Ratsimbazafy
2021-02-21 20:21:56 +0100
dc9e0a43ca
Implement exponentiation, test mul, split mul/div tests
Mamy André-Ratsimbazafy
2020-09-06 16:27:11 +0200
254d4da649
Pass extended precision bitops2 tests
Mamy André-Ratsimbazafy
2020-09-06 15:54:57 +0200
59bca47012
Fix comparison operators
Mamy André-Ratsimbazafy
2020-06-13 17:10:26 +0200
3df7f38260
Fix noInit issue at runtime, pass the bitwise tests
Mamy André-Ratsimbazafy
2020-06-13 17:03:50 +0200
195480d58a
passing compile-time bitwise tests (but not runtime :?)
Mamy André-Ratsimbazafy
2020-06-13 16:54:54 +0200
777a84e9f5
Implement toHex/fromHex and fix `shl`
Mamy André-Ratsimbazafy
2020-06-13 16:44:13 +0200
2ac1ee3f1e
Fix compiletime primitives to pass all bitwise tests except large shifts
Mamy André-Ratsimbazafy
2020-06-13 12:29:31 +0200
7f6c588ce3
Passing addition tests (however simple bitwise ops crash the int128 VM ... during compilation)
Mamy André-Ratsimbazafy
2020-06-12 23:53:08 +0200
a0dec54c12
Implement multiplication
Mamy André-Ratsimbazafy
2020-06-12 20:05:40 +0200
206ffa92cf
Implement multiprecision addition / substraction
Mamy André-Ratsimbazafy
2020-06-12 19:59:03 +0200
cbbffe4e9c
reimplement bitwise
Mamy André-Ratsimbazafy
2020-06-12 19:23:03 +0200
36cc2b2e02
Implement comparison
Mamy André-Ratsimbazafy
2020-06-12 19:01:05 +0200
de87739635
Implement types and uint128 primitives
Mamy André-Ratsimbazafy
2020-06-12 18:37:02 +0200
c0ae9e10a9
rm other styleCheckStyle ref
tersec
2023-06-08 12:03:16 +0000
95b91474ce
remove Nim 1.2 and 1.4 support
tersec
2023-06-08 10:53:38 +0000
86621eced1
remove pre-Nim 1.2 support (#127 )
tersec
2023-06-05 11:42:36 +0000