Commit Graph

  • a907292b12
    fix(stint): fix stint width in test skipPrefixes-patch s1fr0 2022-10-01 00:34:09 +0200
  • be035d290c
    feat(stint): add test s1fr0 2022-10-01 00:24:43 +0200
  • 645e6c213e
    fix(stint): alternative format s1fr0 2022-09-30 17:41:44 +0200
  • 016b074a04
    fix(stint): fix typo s1fr0 2022-09-30 17:29:21 +0200
  • 851066c469
    fix(stint): fix cast s1fr0 2022-09-30 17:24:02 +0200
  • 6e1b042622
    feat(stint): add tests for bin, oct, hex string conversions s1fr0 2022-09-30 17:15:28 +0200
  • f7199740f4
    refactor(skipPrefixes): normalize radix checks G 2022-09-30 14:02:12 +0200
  • fa45b4ee2f
    fix(skipPrefixes): fix erroneous strip of 0b in hex numbers G 2022-09-29 23:01:55 +0200
  • d1acb42743
    update GitHub Actions CI images from deprecated Ubuntu 18.04 to 20.04 (#119) master tersec 2022-08-18 08:18:24 +0000
  • 27a7608f33
    --styleCheck:error iff Nim >= 1.6 Dustin Brody 2022-07-22 10:40:38 +0000
  • e726bfd969
    update to supported macOS GitHub CI image Dustin Brody 2022-07-22 09:03:57 +0000
  • c05f75a8da
    comment style fix Jacek Sieka 2022-04-07 09:52:36 +0200
  • e656ad40d1
    Enable --styleCheck:usages (#118) Kim De Mey 2022-02-24 20:09:53 +0100
  • ddfa6c608a
    Fix 32-bit failure on Nim 1.6 (#116) Mamy Ratsimbazafy 2022-01-13 12:04:26 +0100
  • e17113fb31
    CI: test with multiple Nim versions (#114) Ștefan Talpalaru 2022-01-12 03:20:04 +0100
  • 036c71d06a
    ci: bump mingw from v8.1.0 to v11.2.0 jangko 2021-10-30 13:09:21 +0700
  • 49d11d61b8
    RangeError are actually defect and not catchable. (#111) Mamy Ratsimbazafy 2021-10-08 10:08:56 +0200
  • 06e5c4829c
    Parsing should raise CatchableError for user inputs (#110) Mamy Ratsimbazafy 2021-10-06 18:53:52 +0200
  • 484031fdff fix stint for https://github.com/nim-lang/Nim/pull/18050 Timothee Cour 2021-05-22 21:20:27 -0700
  • ca897811df
    CI: refactor Nim compiler caching (#108) Ștefan Talpalaru 2021-06-03 01:55:01 +0200
  • bae3fc6ee4
    Merge pull request #106 from status-im/github_action andri lim 2021-01-07 09:26:03 +0700
  • 89d6832a53
    add github action jangko 2020-12-24 11:27:58 +0700
  • 9e49b00148 Define a hash function in order to support Stint keys in hash tables (#102) zah 2019-12-18 15:02:16 +0200
  • f0da0406f0 tidying up range check in constructor andri lim 2019-12-12 10:52:57 +0700
  • d98b77c88d fixes #94, implement conversion constructor andri lim 2019-12-10 15:57:19 +0700
  • 25c2604b4b cosmetics changes andri lim 2019-10-25 18:32:20 +0700
  • 9ec615f0ef disable powmod at compile time andri lim 2019-10-25 17:50:55 +0700
  • ea82fdfb39 add more test for 'mod' operation andri lim 2019-10-25 16:26:25 +0700
  • 2b5d083dac fixes 32bit problem andri lim 2019-10-25 16:25:31 +0700
  • 7fe4db62dc add compiletime test for signed int dumphex andri lim 2019-10-23 20:30:36 +0700
  • 8cc9116d1e cosmetics changes andri lim 2019-10-23 09:20:06 +0700
  • e58eb117c8 improve modular arithmetic test coverage + compile time test andri lim 2019-10-22 23:25:50 +0700
  • 46011107b0 improve uint exp test coverage + compile time test andri lim 2019-10-22 22:52:41 +0700
  • 59acce63b7 fixes intops.shr for Nim 0.19.6 andri lim 2019-10-22 22:23:08 +0700
  • fb9b5fde72 improve int muldiv coverage + compile time test andri lim 2019-10-22 21:40:42 +0700
  • 0ee6dc5c6a convert runtime signed int mul to vm friendly andri lim 2019-10-22 20:54:36 +0700
  • 5cf0fb08fb improve uint muldiv coverage + compile time test andri lim 2019-10-22 20:53:24 +0700
  • 332688fc92 fixes high(uint64) issue with nim 19.6 andri lim 2019-10-22 18:16:02 +0700
  • c456190980 fixes operator precedence issue with nim 19.6 andri lim 2019-10-22 18:07:35 +0700
  • 5b9e73e488 improve uint comparison coverage + compile time test andri lim 2019-10-22 17:44:43 +0700
  • 84466dae0a improve int comparison coverage + compile time test andri lim 2019-10-22 17:44:29 +0700
  • 962932dd6a fixes isNegative only for signed integer andri lim 2019-10-22 17:16:21 +0700
  • 07411e31a5 fixes test_uint_addsub typo andri lim 2019-10-22 16:50:54 +0700
  • 7dc26bb714 signed integer 'fromHex' andri lim 2019-10-22 16:38:23 +0700
  • f902d117fc improve int bitwise coverage + compile time test andri lim 2019-10-22 16:37:40 +0700
  • 332f7b1f04 improve uint bitwise coverage + compile time test andri lim 2019-10-22 16:10:45 +0700
  • 79dfae7d32 fixes typo andri lim 2019-10-17 16:15:22 +0700
  • 057fb45f12 improve uint addsub coverage + compile time test andri lim 2019-10-17 16:00:16 +0700
  • 4aff306a6f improve int addsub coverage + compile time test andri lim 2019-10-17 15:49:32 +0700
  • 3189775012 fixes 32bit failure andri lim 2019-10-16 18:53:57 +0700
  • 0cd6b2a052 improve io test coverage + compile time test andri lim 2019-10-16 18:37:02 +0700
  • 523b74d0d2 add endians2 test into all_tests andri lim 2019-10-09 11:28:28 +0700
  • 7921712db1 improve endians2 test coverage + compile time test andri lim 2019-10-09 10:37:30 +0700
  • d67cee6f8d tidying up compiletime helpers andri lim 2019-10-09 10:24:34 +0700
  • f5116945e6 move compile time convertImpl to compiletile helpers andri lim 2019-10-09 09:00:42 +0700
  • affbe30b41 implement compile time helpers andri lim 2019-10-09 08:51:53 +0700
  • 0b06077c55 compile time toBytes andri lim 2019-10-08 20:40:27 +0700
  • 21dc4c6519 compile time truncate and dumpHex andri lim 2019-10-08 20:11:08 +0700
  • de17e63b85 improve bitops test coverage + compile time test andri lim 2019-10-08 16:10:40 +0700
  • 55dcea15e6
    Merge pull request #93 from jangko/fix_mul_op andri lim 2019-10-20 13:45:33 +0700
  • 6eb7b7054e
    fixes related to Nim v1.0.2 32 bit type inference rule modification andri lim 2019-10-19 16:56:18 +0700
  • 9993b9dca4
    CI: update script path Ștefan Talpalaru 2019-08-24 21:03:10 +0200
  • d0162902b7
    Merge pull request #85 from jangko/fix81 andri lim 2019-08-12 18:03:59 +0700
  • e084bb7d9d
    using tuple comparison when checking for nim version instead of template andri lim 2019-08-07 21:28:33 +0700
  • 173699583b
    fix #81 remove ashr from API and fix shr on Nim 0.20 andri lim 2019-08-06 20:25:48 +0700
  • d154bcf90a
    reexport isEven and friends Jacek Sieka 2019-07-22 10:13:19 +0200
  • c5247e9d88
    stew updates (#82) Jacek Sieka 2019-07-22 09:53:58 +0200
  • 33562884a1
    std_shims -> stew Jacek Sieka 2019-07-07 11:50:53 +0200
  • 0761f33b91
    Merge branch 'buildnim' Ștefan Talpalaru 2019-06-18 17:31:16 +0200
  • 344611067a
    build_nim.sh Ștefan Talpalaru 2019-06-18 17:10:46 +0200
  • ccf87daac1 implement arithmetic right shift (#76) andri lim 2019-05-11 20:44:41 +0700
  • 9c51f9e7d5 use bitops2 from shims (#77) Jacek Sieka 2019-05-09 13:46:40 -0600
  • 6853ebe97c
    assert() -> doAssert() Ștefan Talpalaru 2019-03-14 03:43:51 +0100
  • d002fbb155 fix breakage with Nim HEAD (#73) Ștefan Talpalaru 2019-01-08 12:39:04 +0100
  • 360d01d170 Better bitsof implementation (#74) Jacek Sieka 2019-01-07 13:11:45 -0600
  • 3a111d6a0e
    Update README.md Bruno Škvorc 2019-01-02 14:57:16 +0100
  • 308ed51d59 Add 8192-bit overloads mratsim 2018-12-04 15:42:00 +0100
  • 023007b2ef Change to stint_test in property based testing mratsim 2018-12-04 15:37:37 +0100
  • fa37d957e9 Add one more bitsof overload to support Uint4096 mratsim 2018-12-04 14:33:19 +0100
  • eb9c650d25 Add more test cases to modular exponentiation mratsim 2018-12-04 11:29:36 +0100
  • edb1ade373
    add a few more overloads for calculating bitset size (for eth-bloom) Jacek Sieka 2018-11-07 09:18:25 -0600
  • 0f53325c08
    Merge pull request #69 from status-im/no-forloopmacros Jacek Sieka 2018-11-05 21:07:00 +0100
  • 9027fbea3e
    refactoring away for loop macros Jacek Sieka 2018-10-25 12:58:40 +0200
  • 4fe901d33b Use truncate instead of toInt and co mratsim 2018-10-08 21:04:00 +0200
  • 2d6ea71657 BREAKING: Change named param from `base` to `radix` in io procs mratsim 2018-10-08 20:17:39 +0200
  • 0f5fd20679 NEP-1 (camelCase) mratsim 2018-10-08 19:55:37 +0200
  • 65729901db Review: add comment about where Stint is not ideal mratsim 2018-10-08 19:49:34 +0200
  • eb6357f4d1 Misse double hash for doc comments mratsim 2018-10-08 17:54:33 +0200
  • 53ceaffdfa Fix endianness issue in toInt64 and toUint64 mratsim 2018-10-08 16:27:09 +0200
  • 5980477e0b Add a description and why choosing a recursive impl for Stint mratsim 2018-10-08 14:49:36 +0200
  • f161454309 Add tests for toUint/toUint64, toInt, toInt64 mratsim 2018-10-08 14:43:36 +0200
  • 7bbe7d8f9f Fix doc of toInt/toUint + add more docs about undefined behaviours mratsim 2018-10-06 20:25:51 +0200
  • 7fa6329d4c Change the test flag from mpint_test to stint_test mratsim 2018-10-06 12:18:03 +0200
  • 7591373f15 Enable modular arithmetic tests mratsim 2018-10-06 11:55:08 +0200
  • 69b5630de1 Use static default argument fix #40 and deprecated significantBytesBE mratsim 2018-10-06 11:43:51 +0200
  • 31101a5c5b Add a toUint64 and toInt64 for 32-bit platform (fixes #48) mratsim 2018-10-06 11:28:15 +0200
  • 1c29314d8e Add a touint proc fixes #58 mratsim 2018-10-06 11:15:18 +0200
  • 582466b625 Fix Generic Instantiation too nested in unittest (https://github.com/status-im/nim-stint/pull/66#issuecomment-427557655) + Renable all tests mratsim 2018-10-06 11:08:22 +0200
  • f7fcecb395 Export marker + assign to result.data + fix forward decl and visibility issues introduced by the removal of the templates mratsim 2018-10-05 19:28:50 +0200
  • ede5b57fa4 Improve uint public API: no template + documentation mratsim 2018-10-05 18:34:06 +0200