nfx-datatypes 0.1.1
Cross-platform C++ library with high-precision Int128 and Decimal datatypes
Loading...
Searching...
No Matches
Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • NIL

Changed

  • NIL

Deprecated

  • NIL

Removed

  • NIL

Fixed

  • NIL

Security

  • NIL

[0.1.1] - 2025-11-27

Changed

  • Simplify Int128::operator<< by delegating to toString()
  • Consolidated packaging tool detection in CMake configuration

Fixed

  • Removed incorrect runtime dependencies from DEB/RPM packages

[0.1.0] - 2025-11-22 - Initial Release

Added

  • Int128: Cross-platform 128-bit signed integer arithmetic
    • Native __int128 support on GCC/Clang for maximum performance
    • Hand-optimized implementation for MSVC using 64-bit operations
    • Full range: -2^127 to 2^127-1
    • Complete arithmetic operators (+, -, *, /, %, unary -)
    • Comparison operators (==, !=, <, <=, >, >=)
    • Type conversions (int32, int64, uint64, float, double, Decimal)
    • String parsing and formatting (fromString(), toString())
    • Bit manipulation (toLow(), toHigh(), toBits())
  • Decimal: High-precision decimal arithmetic
    • 96-bit mantissa with 8-bit scale (0-28 decimal places)
    • Up to 28-29 significant digits
    • Exact decimal representation (no binary floating-point errors)
    • Complete arithmetic operators (+, -, *, /, unary -)
    • Comparison operators (==, !=, <, <=, >, >=)
    • Type conversions (int32, int64, uint64, float, double, Int128)
    • String parsing and formatting (fromString(), toString())
    • Mathematical operations (abs(), trunc(), floor(), ceil(), round())
    • State checking methods (scale(), decimalPlacesCount())
    • Cross-type arithmetic (Decimal ↔ Int128 interoperability)
  • Documentation
    • README with feature overview
    • Detailed API documentation with Doxygen comments
    • Sample application demonstrating library usage
    • Build and installation instructions
  • Testing & Benchmarking
    • Unit test suite
    • Performance benchmarks for all operations
    • Cross-compiler performance validation