GoogolSharp 0.4.2
This version has critical bugs and is no longer maintained.
Tip: Check your .csproj file for a `PackageReference` to `GoogolSharp` if you didn't manually set this version.
See the version list below for details.
dotnet add package GoogolSharp --version 0.4.2
NuGet\Install-Package GoogolSharp -Version 0.4.2
<PackageReference Include="GoogolSharp" Version="0.4.2" />
<PackageVersion Include="GoogolSharp" Version="0.4.2" />
<PackageReference Include="GoogolSharp" />
paket add GoogolSharp --version 0.4.2
#r "nuget: GoogolSharp, 0.4.2"
#:package GoogolSharp@0.4.2
#addin nuget:?package=GoogolSharp&version=0.4.2
#tool nuget:?package=GoogolSharp&version=0.4.2
📐 GoogolSharp
GoogolSharp is a C# library for working with extremely large numbers — inspired by googology and advanced numeric representations. It introduces a numeric type called Arithmonym, designed to efficiently encode and manipulate values far beyond conventional floating‑point ranges.
✨ Features
Custom struct
Arithmonymfor representing very large or very small numbers.Compact 96‑bit word layout for efficient storage.
Support for:
Negative numbers
Reciprocal values (numbers below 1)
Fractional precision
Googological giants (numbers with symbolic “letters”)
Extensible design for mathematical operations and future numeric extensions.
🔢 Bit Layout (96 bits total)
| Bits | Description |
|---|---|
| 1 | _IsNegative - Sign Bit |
| 1 | _IsReciprocal - reciprocal flag (for numbers < 1) |
| 6 | Letter - symbolic representation for scale (tiny numbers to googological) |
| 3 | OperandFloored - Since Operand is always less than 10, and >=2, Floor(Operand) - 2 encodes cleanly in 3 bits. |
| 85 | OperandFraction128 - The 128 is because the property returns a UInt128, and this is the fractional part of the Operand. |
All this cleanly fits into 96 bits. Since this is not a power of two it is represented in three uints.
⚖️ Dependencies
.NET 7or laterC# 11or laterQuadrupleLib.Float128
📄 License
GoogolSharp is licensed under LGPL-3.0, and it uses QuadrupleLib, which is licensed under the same license. You can find the full license and source code for QuadrupleLib here:
- QuadrupleLib GitHub Repository
- License: LGPL-3.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- QuadrupleLib (>= 0.1.0)
-
net8.0
- QuadrupleLib (>= 0.1.0)
-
net9.0
- QuadrupleLib (>= 0.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 0.5.0-alpha.1 | 35 | 3/24/2026 | |
| 0.4.5 | 120 | 3/23/2026 | |
| 0.4.4 | 88 | 3/23/2026 | |
| 0.4.3 | 91 | 3/19/2026 | |
| 0.4.2 | 95 | 3/17/2026 | |
| 0.4.1 | 139 | 3/16/2026 | |
| 0.4.0 | 134 | 3/16/2026 | |
| 0.3.1 | 96 | 3/6/2026 | |
| 0.3.0.1 | 99 | 3/5/2026 | |
| 0.3.0 | 101 | 3/5/2026 | |
| 0.2.26 | 106 | 2/22/2026 | |
| 0.2.25 | 103 | 2/22/2026 | |
| 0.2.24 | 98 | 2/22/2026 | |
| 0.2.23 | 99 | 2/22/2026 | |
| 0.2.22 | 104 | 2/22/2026 | |
| 0.2.21 | 104 | 2/22/2026 | |
| 0.2.20 | 105 | 2/22/2026 | |
| 0.2.19 | 101 | 2/16/2026 | |
| 0.2.18 | 105 | 2/16/2026 | |
| 0.2.17 | 105 | 2/14/2026 |