Skip to content

Releases: chfast/intx

intx 0.15.0

30 Jan 12:27
v0.15.0
0306b49

Choose a tag to compare

Added

  • Add bit_width() helper. #356
  • Add load() and store() helpers with std::span<uint8_t> parameters. #366
  • Add support for 0X prefix to from_string(). #361
  • Add constructor from builtin_uint128 to avoid truncation. #355
  • Add constructor from std::span<uint64_t>. #362

Changed

  • Git default branch changed to main.
  • Optimize exp() by traversing exponent bits from the top. #357
  • Change as_words() to return fixed-size std::span<uint64_t>. #364
  • Add explicit implementations of assignment operators. #353
  • Use std::span for division internals and helper procedures. #365

intx 0.14.0

14 Nov 09:55
v0.14.0
637fe19

Choose a tag to compare

Added

  • Add ctz() (count trailing zeros). #350
  • Add bit_test(). #351
  • Add support for Conan package manager. #352

Fixed

  • Fix udivrem dead branch causing static analysis failures. #349

intx 0.13.0

14 May 14:51
v0.13.0
d7a9f72

Choose a tag to compare

Added

  • Add support for C++20 spaceship operator <=>. #328

Fixed

  • Build fixes for newer compilers and C++23:
    • Assume word counts out of div normalization are not negative. #340
    • Add missing C header #include. #337
    • Don't specify deprecated float_denorm_style. #336
    • Drop constexpr tests for division. #335
    • Remove whitespace in literal operator declarations. #334
    • Remove redundant inline specifiers. #330

intx 0.12.1

09 Oct 09:30
v0.12.1
b071d81

Choose a tag to compare

Fixed

  • Fix MSVC build in preprocessor conformance mode #327

intx 0.12.0

20 Sep 20:37
v0.12.0
48870fa

Choose a tag to compare

Added

  • Consequent type aliases and literal suffixes: #317
    • uint128, 1_u128
    • uint192, 1_u192
    • uint256, 1_u256
    • uint320, 1_u320
    • uint384, 1_u384
    • uint448, 1_u448
    • uint512, 1_u512

Changed

intx 0.11.0

06 Aug 10:49
v0.11.0
500eec5

Choose a tag to compare

Added

  • Support constexpr context execution for all arithmetic including division. #305 #311 #314

Changed

  • Literal operators changed to consteval. #298
  • Some C++20 modernization. #297 #308

Fixed

  • Fixes to division for constexpr context. #309 #310

intx 0.10.1

17 Jul 10:04
v0.10.1
2ab1e86

Choose a tag to compare

Fixed

  • Fixed buggy __builtin_subcll in Xcode 14.3.1 on arm64. 294

intx 0.9.3

17 Jul 09:34
v0.9.3
4c1ca55

Choose a tag to compare

Fixed

  • Fixed buggy __builtin_subcll in Xcode 14.3.1 on arm64. 294

intx 0.10.0

25 Apr 14:11
v0.10.0
dd34f96

Choose a tag to compare

Changed

  • C++20 is now required to use intx. #287 #290

intx 0.9.2

11 Mar 15:48
v0.9.2
bc106fa

Choose a tag to compare

Changed

  • Increase tolerance to some compiler warnings (e.g. unknown pragma, unknown attribute) in case intx.hpp is used without CMake assistance. #286