Skip to content

Commit

Permalink
Merge branch 'feature/use_generic_math'
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 committed Dec 29, 2022
2 parents becc304 + 2562860 commit 8ee00c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion csharp/Platform.Numbers/Bit[T].cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Platform.Numbers
/// <para>Represents a set of compiled bit operations delegates.</para>
/// <para>Представляет набор скомпилированных делегатов битовых операций.</para>
/// </summary>
public static class Bit<T> where T : INumber<T>, IShiftOperators<T, int, T> , IBitwiseOperators<T, T, T>, IMinMaxValue<T>
public static class Bit<T> where T : INumberBase<T>, IShiftOperators<T, int, T> , IBitwiseOperators<T, T, T>, IMinMaxValue<T>
{
private static int BitsSize = NumericType<T>.BitsSize;

Expand Down
4 changes: 2 additions & 2 deletions csharp/Platform.Numbers/Platform.Numbers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Description>LinksPlatform's Platform.Numbers Class Library</Description>
<Copyright>Konstantin Diachenko</Copyright>
<AssemblyTitle>Platform.Numbers</AssemblyTitle>
<VersionPrefix>0.7.0</VersionPrefix>
<VersionPrefix>0.8.0</VersionPrefix>
<Authors>Konstantin Diachenko</Authors>
<TargetFramework>net7</TargetFramework>
<AssemblyName>Platform.Numbers</AssemblyName>
Expand All @@ -23,7 +23,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latest</LangVersion>
<PackageReleaseNotes>Stopped using dynamic compilation and replaced it with generic math from .NET 7.</PackageReleaseNotes>
<PackageReleaseNotes>Constraint of template parameter in the class Bit is changed from INumber to INumberBase.</PackageReleaseNotes>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down

0 comments on commit 8ee00c4

Please sign in to comment.