Arbitrary-precision decimal arithmetic in Swift with full math functions and fixed-precision Decimal 32-, 64-, and 128-bit types.
-
Updated
Oct 16, 2024 - Swift
Arbitrary-precision decimal arithmetic in Swift with full math functions and fixed-precision Decimal 32-, 64-, and 128-bit types.
IEEE Decimal arithmetic 128-, 64-, and 32-bit types built entirely in Swift.
A Swift-friendly interface to the C-based CDecNumber package. It provides fixed-size interfaces to the Decimal32, Decimal64, and Decimal128 data types. An arbitrary-precision type, HDecimal, is also included.
A Swift implementation based on the Intel Corp Decimal Floating-Point Math Library v2.2. This library uses Binary Integer Decimal (BID) encoded numbers in its implementation. Conversions to/from Densely Packed Decimal (DPD) encoded numbers are provided.
Add a description, image, and links to the decimal-numbers topic page so that developers can more easily learn about it.
To associate your repository with the decimal-numbers topic, visit your repo's landing page and select "manage topics."