Skip to content

Commit 8ee00c4

Browse files
Merge branch 'feature/use_generic_math'
2 parents becc304 + 2562860 commit 8ee00c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

csharp/Platform.Numbers/Bit[T].cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Platform.Numbers
1313
/// <para>Represents a set of compiled bit operations delegates.</para>
1414
/// <para>Представляет набор скомпилированных делегатов битовых операций.</para>
1515
/// </summary>
16-
public static class Bit<T> where T : INumber<T>, IShiftOperators<T, int, T> , IBitwiseOperators<T, T, T>, IMinMaxValue<T>
16+
public static class Bit<T> where T : INumberBase<T>, IShiftOperators<T, int, T> , IBitwiseOperators<T, T, T>, IMinMaxValue<T>
1717
{
1818
private static int BitsSize = NumericType<T>.BitsSize;
1919

csharp/Platform.Numbers/Platform.Numbers.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Description>LinksPlatform's Platform.Numbers Class Library</Description>
55
<Copyright>Konstantin Diachenko</Copyright>
66
<AssemblyTitle>Platform.Numbers</AssemblyTitle>
7-
<VersionPrefix>0.7.0</VersionPrefix>
7+
<VersionPrefix>0.8.0</VersionPrefix>
88
<Authors>Konstantin Diachenko</Authors>
99
<TargetFramework>net7</TargetFramework>
1010
<AssemblyName>Platform.Numbers</AssemblyName>
@@ -23,7 +23,7 @@
2323
<IncludeSymbols>true</IncludeSymbols>
2424
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2525
<LangVersion>latest</LangVersion>
26-
<PackageReleaseNotes>Stopped using dynamic compilation and replaced it with generic math from .NET 7.</PackageReleaseNotes>
26+
<PackageReleaseNotes>Constraint of template parameter in the class Bit is changed from INumber to INumberBase.</PackageReleaseNotes>
2727
<Nullable>enable</Nullable>
2828
</PropertyGroup>
2929

0 commit comments

Comments
 (0)