CodeChops.GenericMath 3.4.0

dotnet add package CodeChops.GenericMath --version 3.4.0
                    
NuGet\Install-Package CodeChops.GenericMath -Version 3.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeChops.GenericMath" Version="3.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeChops.GenericMath" Version="3.4.0" />
                    
Directory.Packages.props
<PackageReference Include="CodeChops.GenericMath" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeChops.GenericMath --version 3.4.0
                    
#r "nuget: CodeChops.GenericMath, 3.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CodeChops.GenericMath@3.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeChops.GenericMath&version=3.4.0
                    
Install as a Cake Addin
#tool nuget:?package=CodeChops.GenericMath&version=3.4.0
                    
Install as a Cake Tool

Generic math

Provides a way to perform generic math functions on the following numeric types: byte, sbyte, decimal, double, float, int, uint, nint, nuint, long, ulong, short, ushort. The following operations are supported: add, subtract, multiply, divide, modulo, negate, plus, increment, decrement, leftShift, rightShift, onesComplement, and, or, xor.

Check out CodeChops projects for more projects.

Other features:

  • Supports converting at runtime (when the type to convert to/from is not known at compile time).
  • Contains a JSON converter which cleanly and correctly converts these numbers from and to JSON.

Note:

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
3.4.0 141 11/18/2024
3.3.3 383 12/28/2022
3.3.2 602 12/9/2022
3.3.1 361 12/9/2022
2.10.0 1,430 9/14/2022
1.3.7 1,425 7/11/2022
1.3.6 1,422 7/10/2022
1.3.5 495 7/10/2022
1.3.4 1,176 7/8/2022
1.3.3 492 7/6/2022
1.3.2 1,028 7/6/2022
1.3.0 8,886 3/3/2022
1.2.8 510 2/20/2022
1.2.7 1,027 2/19/2022
1.2.6 584 2/19/2022 1.2.6 is deprecated because it is no longer maintained.
1.2.5 577 2/19/2022 1.2.5 is deprecated because it is no longer maintained.

Updated .net version.