double128 Math Library (SDK)
double128 Math Library (SDK) is 128-bit quad-precision math library that implements approximately 32 decimal place floating point arithmetic for Microsoft Visual Studio. The library includes a new floating point type double128 and a list of corresponding standard math functions such as sqrt(), pow(), sin() etc.. The implementation of the library is based on Intel C++ Compiler _Quad data type. The following table show a comparison among float, double and double128 types:
Parameter | single | double | double128 |
---|---|---|---|
Format width in bits | 32 | 64 | 128 |
Sign width in bits | 1 | 1 | 1 |
Mantissa | 24 | 53 | 113 |
Exponent width in bits | 8 | 11 | 15 |
Max value | 3.40282 E38 | 1.79769 E308 | 1.18973 E4932 |
Min value | 1.17549 E-38 | 2.22507 E-308 | 3.36210 E-4932 |
Epsilon | 1.192092896 E-07 | 2.2204460492503131 E-016 | 1.9259299443872358530559779425849272 E-34 |
Key Features
- Quad-precision (128-bit) floating point data type in Visual C++.
- Quad-precision (128-bit) floating point data type in C# and VB.NET, and .NET Core (including .Net Core 7.0, 6.0, 5.0, .NET 4.8x, 4.7x, 4.6x, 4.5x, and 4.0).
- Supports standard math functions.
- Supports basic I/O operations.
- Supports Microsoft Visual Studio 2015 and up including Visual Studio 2022.
- Supports x64 and x86 platform architecture.
- Reasonably priced and royalty-free on binary redistribution.
Epsilon Computation Example in C# and C++
System Requirements
Operating System: Windows 7, 8, 10, 11
Copyright 2002-2024, Computations & Graphics, Inc. | All Rights Reserved