Log In
Log In

Matt's Charconv and Decimal Update

https://cppalliance.org/matt/2023/10/27/MattsQ3Update.html

The charconv library has been completed, received endorsement, and is awaiting formal review, with usage instructions provided. The decimal library, a ground‑up IEEE‑754‑2019 implementation for C++14, is in early development, aiming for full standard library and Boost.Math compatibility.

Next Post

  • Speed and Safety
    Link #Decimal
    CUDA support is added to Boost int128 for host and device use. Device from_chars/to_chars are provided by Boost.Charconv, and Boost.Decimal will gain CUDA later. Verification is used by Boost.Safe_Numbers for safety and error check with CUDA reporting.
  • Decimal Goes Back to Review
    Link #Decimal
    The Decimal library is re‑entering Boost review (Oct 6‑15). Updates include renamed types/headers, simplified constructors, IEEE‑754 rounding, Antora docs, fmt and CMake support, and resolved review issues; hardware decimal and CUDA support are planned.
  • Bigger, Faster, Stronger Types
    Link #Multiprecision
    Progress on Boost libraries: int128 beta‑ready and integrated into an IEEE‑754 decimal type with a 256‑bit backend, giving >100 % speedups. Boost.Math GPU support refined; Boost.Multiprecision adds a double‑double backend for precision with lower cost.