Skip to content

QuadrupleLib is a modern implementation of the IEEE 754 binary128 floating point number type for .NET 8+ based on the UInt128 built-in.

License

Notifications You must be signed in to change notification settings

IsaMorphic/QuadrupleLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuadrupleLib

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.

Project TODOs (Completed)

  • Adheres to recommended requirements of IEEE 754 specification
  • Implements .NET 8 IBinaryFloatingPointIeee754 generic arithmetic interface
  • Implements all basic arithmetic operations (+, -, *, /, %, ++, --)
  • Implements all standard rounding functions (Round, Floor, Ceiling)
  • Supports all recommended rounding modes for arithmetic
  • Implements basic ToString and Parse/TryParse methods
  • Supports .NET Core formatting features for ToString and Parse
  • Implements conversion methods to & from all standard number types
  • Implements IEEERemainder as suggested in IEEE 754
  • Implements typical library functions (Pow, Atan2, Log)

Project TODOs (WIP)

  • Unit tests to check for specification coverage (#11)

About

QuadrupleLib is a modern implementation of the IEEE 754 binary128 floating point number type for .NET 8+ based on the UInt128 built-in.

Topics

Resources

License

Stars

Watchers

Forks

Languages