QuadrupleLib is a modern implementation of the IEEE 754 binary128 floating point number type for .NET 8 and above based on the UInt128 built-in. The goal of this project is to create a fully fleshed out 128-bit floating point arithmetic library that includes all of the bells and whistles one could possibly want.
- Adheres to recommended requirements of IEEE 754 specification
- Implements .NET 8
IBinaryFloatingPointIeee754generic arithmetic interface - Implements all basic arithmetic operations (
+,-,*,/,%,++,--) - Implements all standard rounding functions (
Round,Floor,Ceiling) - Supports all recommended rounding modes for arithmetic
- Implements basic
ToStringandParse/TryParsemethods - Supports .NET Core formatting features for
ToStringandParse - Implements conversion methods to & from all standard number types
- Implements
IEEERemainderas suggested in IEEE 754 - Implements typical library functions (
Pow,Atan2,Log)
- Unit tests to check for specification coverage (#11)