JJ.Framework.Mathematics.Legacy
0.253.6073
Prefix Reserved
dotnet add package JJ.Framework.Mathematics.Legacy --version 0.253.6073
NuGet\Install-Package JJ.Framework.Mathematics.Legacy -Version 0.253.6073
<PackageReference Include="JJ.Framework.Mathematics.Legacy" Version="0.253.6073" />
<PackageVersion Include="JJ.Framework.Mathematics.Legacy" Version="0.253.6073" />
<PackageReference Include="JJ.Framework.Mathematics.Legacy" />
paket add JJ.Framework.Mathematics.Legacy --version 0.253.6073
#r "nuget: JJ.Framework.Mathematics.Legacy, 0.253.6073"
#:package JJ.Framework.Mathematics.Legacy@0.253.6073
#addin nuget:?package=JJ.Framework.Mathematics.Legacy&version=0.253.6073
#tool nuget:?package=JJ.Framework.Mathematics.Legacy&version=0.253.6073
JJ.Framework.Mathematics.Legacy
Miscellaneous math helpers from a 2015 code freeze.
It's a legacy release for projects that still depend on it.
This legacy release supports newer and older .NET versions, has IntelliSense docs and will support code trimming and native compilation.
A newer extended version is JJ.Framework.Mathematics but it officially only supports .NET 4.6.1 though there's a good chance it still works for later versions too, as compatibility was a high priority during its development.
This legacy release contains the following features:
Maths Helper
Class extending the Math helpers from .NET with:
Pow- Integer variation of the
Math.Powfunction.
- Integer variation of the
Logwith integers- It will only return integers, but will prevent rounding errors such as
1000 log 10=2.99999999996.
- It will only return integers, but will prevent rounding errors such as
Randomizer
GetRandomItem- Gets a random item out of a collection.
GetInt32- Return a random number out of a range:
NumberingSystems
ToBase- Converts an
intto an n-base number in usually string format.
- Converts an
FromBase- Converts an n-based number to an
int. The input is usually in string format.
- Converts an n-based number to an
- You could convert from one base to another by first calling
FromBaseand thenToBase. - Several overloads to handle it differently.
FromHex/ToHexToLetterSequence/FromLetterSequence- Does spread-sheet-style letter sequences. This is not the same as a base-26 numbering system. After the range A-Z is depleted, the next value is 'AA', which is equivalent to 00, so you basically start counting at 0 again, but you get 26 for free.
Release Notes
2026-04-08 | 0.253/4.5 : Legacy
- Legacy release with the following features:
- Integer-based
PowandLog,GetRandomItemandRandomizer.GetInt32, number base converter. - 100% test coverage, compatibility with Code Trimming and AOT / native compilation, and a whole spread of .NET versions, and IntelliSense doc everywhere.
- Fix:
PowandLogedge-cases - Fix: Removed dependency on
JJ.Framework.Reflection.Legacy
💬 Feedback
Got feedback or questions? You can reach me here.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- JJ.Framework.Build (>= 4.5.6073)
-
.NETStandard 2.1
- JJ.Framework.Build (>= 4.5.6073)
-
net10.0
- JJ.Framework.Build (>= 4.5.6073)
-
net6.0
- JJ.Framework.Build (>= 4.5.6073)
-
net7.0
- JJ.Framework.Build (>= 4.5.6073)
-
net8.0
- JJ.Framework.Build (>= 4.5.6073)
-
net9.0
- JJ.Framework.Build (>= 4.5.6073)
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.253.6073 | 0 | 4/8/2026 |