Skip to content

Commit fc59b06

Browse files
committed
Version 1.7.2
1 parent ff3af4a commit fc59b06

File tree

7 files changed

+17
-13
lines changed

7 files changed

+17
-13
lines changed

Numbers.nuspec

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<package
2-
><metadata><version>1.7.2-a0</version><id>PeterO.Numbers</id><requireLicenseAcceptance>false</requireLicenseAcceptance><releaseNotes>Version 1.7.1
2+
><metadata><version>1.7.2</version><id>PeterO.Numbers</id><requireLicenseAcceptance>false</requireLicenseAcceptance><releaseNotes>Version 1.7.2
3+
4+
- Improve performance of EInteger&apos;s Gcd method for large integers
5+
6+
Version 1.7.1
37

48
- Fix bugs in new char[] and byte[] overloads of FromString
59

@@ -10,4 +14,4 @@ Version 1.7.0
1014
- Added Log1P and ExpM1 methods to EDecimal and EFloat
1115
- Added &apos;long&apos; overloads to several arithmetic methods
1216
- Added implication and equivalence (Imp/Eqv) methods and an nth-root method to EInteger</releaseNotes><summary></summary><license type='expression'>CC0-1.0</license><projectUrl>https://github.com/peteroupc/Numbers</projectUrl><authors>Peter Occil</authors><description>A C# library that supports arbitrary-precision binary and decimal floating-point numbers and rational numbers with arbitrary-precision components, and supports arithmetic with these numbers.</description><owners>Peter Occil</owners><title>Arbitrary-Precision Number Library</title><tags>numbers arithmetic decimal math</tags><dependencies><group targetFramework='.NETStandard1.0' /><group targetFramework='.NETFramework2.0' /><group targetFramework='.NETFramework4.0' /></dependencies></metadata><files><file src='Numbers/bin/Release/netstandard1.0/Numbers.dll' target='/lib/netstandard1.0' /><file src='Numbers/bin/Release/netstandard1.0/Numbers.xml' target='/lib/netstandard1.0' /><file src='Numbers20/bin/Release/Numbers.dll' target='/lib/net20' /><file src='Numbers20/bin/Release/Numbers.xml' target='/lib/net20' /><file src='Numbers40/bin/Release/Numbers.dll' target='/lib/net40' /><file src='Numbers40/bin/Release/Numbers.xml' target='/lib/net40' /></files></package
13-
>
17+
>

Numbers/PeterO/DebugUtility.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void Log(string str) {
4141
wr = writer;
4242
}
4343
if (wr != null) {
44-
#if !NET20
44+
#if !NET20 && !NET40
4545
System.Diagnostics.Debug.WriteLine(str);
4646
#endif
4747
wr(str);

Numbers20/Numbers20.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version='1.0' encoding='UTF-8'?><Project DefaultTargets='Build' ToolsVersion='4.0' xmlns='http://schemas.microsoft.com/developer/msbuild/2003'><PropertyGroup><Configuration Condition=' &apos;$(Configuration)&apos; == &apos;&apos; '>Debug</Configuration><Platform Condition=' &apos;$(Platform)&apos; == &apos;&apos; '>AnyCPU</Platform><OutputType>Library</OutputType><AssemblyName>Numbers</AssemblyName><TargetFrameworkVersion>v2.0</TargetFrameworkVersion><SignAssembly>true</SignAssembly><AssemblyOriginatorKeyFile>..\Numbers\PeterO.snk</AssemblyOriginatorKeyFile><ProjectGuid>{04A7B845-E447-4A46-ABB9-D195BDEDC735}</ProjectGuid><CodeAnalysisRuleSet>rules.ruleset</CodeAnalysisRuleSet></PropertyGroup><PropertyGroup Condition=' &apos;$(Configuration)&apos;==&apos;Debug&apos; '><DebugSymbols>true</DebugSymbols><DebugType>full</DebugType><Optimize>false</Optimize><OutputPath>bin\Debug</OutputPath><DefineConstants>DEBUG;NET40</DefineConstants><ErrorReport>prompt</ErrorReport><WarningLevel>4</WarningLevel><DocumentationFile>bin\Debug\Numbers.xml</DocumentationFile><CodeAnalysisRuleSet>rules.ruleset</CodeAnalysisRuleSet></PropertyGroup><PropertyGroup Condition=' &apos;$(Configuration)&apos;==&apos;Release&apos; '><Optimize>true</Optimize><OutputPath>bin\Release</OutputPath><DefineConstants>NET40</DefineConstants><ErrorReport>prompt</ErrorReport><WarningLevel>4</WarningLevel><DocumentationFile>bin\Release\Numbers.xml</DocumentationFile><CodeAnalysisRuleSet>rules.ruleset</CodeAnalysisRuleSet></PropertyGroup><ItemGroup><PackageReference Include='StyleCop.Analyzers'><Version>1.1.118</Version></PackageReference><PackageReference Include='Microsoft.CodeAnalysis.FxCopAnalyzers'><Version>3.0.0</Version></PackageReference><None Include='../Numbers/docs.xml'><Link>docs.xml</Link></None><AdditionalFiles Include='../Numbers/stylecop.json'><Link>stylecop.json</Link></AdditionalFiles><Compile Include='../Numbers/PeterO/Numbers/EDecimal.cs'><Link>PeterO/Numbers/EDecimal.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloatCharArrayString.cs'><Link>PeterO/Numbers/EFloatCharArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/IRadixMath.cs'><Link>PeterO/Numbers/IRadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/RadixMath.cs'><Link>PeterO/Numbers/RadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERounding.cs'><Link>PeterO/Numbers/ERounding.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/FastIntegerFixed.cs'><Link>PeterO/Numbers/FastIntegerFixed.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EIntegerCharArrayString.cs'><Link>PeterO/Numbers/EIntegerCharArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EContext.cs'><Link>PeterO/Numbers/EContext.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/BigNumberFlags.cs'><Link>PeterO/Numbers/BigNumberFlags.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/SimpleRadixMath.cs'><Link>PeterO/Numbers/SimpleRadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/Extras.cs'><Link>PeterO/Numbers/Extras.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/NumberUtility.cs'><Link>PeterO/Numbers/NumberUtility.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERationalCharArrayString.cs'><Link>PeterO/Numbers/ERationalCharArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ExtendedOrSimpleRadixMath.cs'><Link>PeterO/Numbers/ExtendedOrSimpleRadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimalTextString.cs'><Link>PeterO/Numbers/EDecimalTextString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EInteger.cs'><Link>PeterO/Numbers/EInteger.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloatByteArrayString.cs'><Link>PeterO/Numbers/EFloatByteArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERationalExtra.cs'><Link>PeterO/Numbers/ERationalExtra.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERationalTextString.cs'><Link>PeterO/Numbers/ERationalTextString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloatExtra.cs'><Link>PeterO/Numbers/EFloatExtra.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/FastInteger.cs'><Link>PeterO/Numbers/FastInteger.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimalByteArrayString.cs'><Link>PeterO/Numbers/EDecimalByteArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EIntegerTextString.cs'><Link>PeterO/Numbers/EIntegerTextString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/IShiftAccumulator.cs'><Link>PeterO/Numbers/IShiftAccumulator.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloats.cs'><Link>PeterO/Numbers/EFloats.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERational.cs'><Link>PeterO/Numbers/ERational.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/TrappableRadixMath.cs'><Link>PeterO/Numbers/TrappableRadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/BitShiftAccumulator.cs'><Link>PeterO/Numbers/BitShiftAccumulator.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EIntegerByteArrayString.cs'><Link>PeterO/Numbers/EIntegerByteArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERationalByteArrayString.cs'><Link>PeterO/Numbers/ERationalByteArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EIntegerExtra.cs'><Link>PeterO/Numbers/EIntegerExtra.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimals.cs'><Link>PeterO/Numbers/EDecimals.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimalExtra.cs'><Link>PeterO/Numbers/EDecimalExtra.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimalCharArrayString.cs'><Link>PeterO/Numbers/EDecimalCharArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloatTextString.cs'><Link>PeterO/Numbers/EFloatTextString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/DigitShiftAccumulator.cs'><Link>PeterO/Numbers/DigitShiftAccumulator.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloat.cs'><Link>PeterO/Numbers/EFloat.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/IRadixMathHelper.cs'><Link>PeterO/Numbers/IRadixMathHelper.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ETrapException.cs'><Link>PeterO/Numbers/ETrapException.cs</Link></Compile><Compile Include='../Numbers/PeterO/DebugUtility.cs'><Link>PeterO/DebugUtility.cs</Link></Compile><Compile Include='Properties/AssemblyInfo.cs'/></ItemGroup><Import Project='$(MSBuildToolsPath)\Microsoft.CSharp.targets'/></Project>
1+
<?xml version='1.0' encoding='UTF-8'?><Project DefaultTargets='Build' ToolsVersion='4.0' xmlns='http://schemas.microsoft.com/developer/msbuild/2003'><PropertyGroup><RuntimeIdentifiers>win</RuntimeIdentifiers><Configuration Condition=' &apos;$(Configuration)&apos; == &apos;&apos; '>Debug</Configuration><Platform Condition=' &apos;$(Platform)&apos; == &apos;&apos; '>AnyCPU</Platform><OutputType>Library</OutputType><AssemblyName>Numbers</AssemblyName><TargetFrameworkVersion>v2.0</TargetFrameworkVersion><SignAssembly>true</SignAssembly><AssemblyOriginatorKeyFile>..\Numbers\PeterO.snk</AssemblyOriginatorKeyFile><ProjectGuid>{04A7B845-E447-4A46-ABB9-D195BDEDC735}</ProjectGuid><CodeAnalysisRuleSet>rules.ruleset</CodeAnalysisRuleSet></PropertyGroup><PropertyGroup Condition=' &apos;$(Configuration)&apos;==&apos;Debug&apos; '><DebugSymbols>true</DebugSymbols><DebugType>full</DebugType><Optimize>false</Optimize><OutputPath>bin\Debug</OutputPath><DefineConstants>DEBUG;NET40</DefineConstants><ErrorReport>prompt</ErrorReport><WarningLevel>4</WarningLevel><DocumentationFile>bin\Debug\Numbers.xml</DocumentationFile><CodeAnalysisRuleSet>rules.ruleset</CodeAnalysisRuleSet></PropertyGroup><PropertyGroup Condition=' &apos;$(Configuration)&apos;==&apos;Release&apos; '><Optimize>true</Optimize><OutputPath>bin\Release</OutputPath><DefineConstants>NET40</DefineConstants><ErrorReport>prompt</ErrorReport><WarningLevel>4</WarningLevel><DocumentationFile>bin\Release\Numbers.xml</DocumentationFile><CodeAnalysisRuleSet>rules.ruleset</CodeAnalysisRuleSet></PropertyGroup><ItemGroup><PackageReference Include='StyleCop.Analyzers'><Version>1.1.118</Version></PackageReference><PackageReference Include='Microsoft.CodeAnalysis.FxCopAnalyzers'><Version>3.0.0</Version></PackageReference><None Include='../Numbers/docs.xml'><Link>docs.xml</Link></None><AdditionalFiles Include='../Numbers/stylecop.json'><Link>stylecop.json</Link></AdditionalFiles><Compile Include='../Numbers/PeterO/Numbers/EDecimal.cs'><Link>PeterO/Numbers/EDecimal.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloatCharArrayString.cs'><Link>PeterO/Numbers/EFloatCharArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/IRadixMath.cs'><Link>PeterO/Numbers/IRadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/RadixMath.cs'><Link>PeterO/Numbers/RadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERounding.cs'><Link>PeterO/Numbers/ERounding.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/FastIntegerFixed.cs'><Link>PeterO/Numbers/FastIntegerFixed.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EIntegerCharArrayString.cs'><Link>PeterO/Numbers/EIntegerCharArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EContext.cs'><Link>PeterO/Numbers/EContext.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/BigNumberFlags.cs'><Link>PeterO/Numbers/BigNumberFlags.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/SimpleRadixMath.cs'><Link>PeterO/Numbers/SimpleRadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/Extras.cs'><Link>PeterO/Numbers/Extras.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/NumberUtility.cs'><Link>PeterO/Numbers/NumberUtility.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERationalCharArrayString.cs'><Link>PeterO/Numbers/ERationalCharArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ExtendedOrSimpleRadixMath.cs'><Link>PeterO/Numbers/ExtendedOrSimpleRadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimalTextString.cs'><Link>PeterO/Numbers/EDecimalTextString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EInteger.cs'><Link>PeterO/Numbers/EInteger.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloatByteArrayString.cs'><Link>PeterO/Numbers/EFloatByteArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERationalExtra.cs'><Link>PeterO/Numbers/ERationalExtra.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERationalTextString.cs'><Link>PeterO/Numbers/ERationalTextString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloatExtra.cs'><Link>PeterO/Numbers/EFloatExtra.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/FastInteger.cs'><Link>PeterO/Numbers/FastInteger.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimalByteArrayString.cs'><Link>PeterO/Numbers/EDecimalByteArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EIntegerTextString.cs'><Link>PeterO/Numbers/EIntegerTextString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/IShiftAccumulator.cs'><Link>PeterO/Numbers/IShiftAccumulator.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloats.cs'><Link>PeterO/Numbers/EFloats.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERational.cs'><Link>PeterO/Numbers/ERational.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/TrappableRadixMath.cs'><Link>PeterO/Numbers/TrappableRadixMath.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/BitShiftAccumulator.cs'><Link>PeterO/Numbers/BitShiftAccumulator.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EIntegerByteArrayString.cs'><Link>PeterO/Numbers/EIntegerByteArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ERationalByteArrayString.cs'><Link>PeterO/Numbers/ERationalByteArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EIntegerExtra.cs'><Link>PeterO/Numbers/EIntegerExtra.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimals.cs'><Link>PeterO/Numbers/EDecimals.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimalExtra.cs'><Link>PeterO/Numbers/EDecimalExtra.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EDecimalCharArrayString.cs'><Link>PeterO/Numbers/EDecimalCharArrayString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloatTextString.cs'><Link>PeterO/Numbers/EFloatTextString.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/DigitShiftAccumulator.cs'><Link>PeterO/Numbers/DigitShiftAccumulator.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/EFloat.cs'><Link>PeterO/Numbers/EFloat.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/IRadixMathHelper.cs'><Link>PeterO/Numbers/IRadixMathHelper.cs</Link></Compile><Compile Include='../Numbers/PeterO/Numbers/ETrapException.cs'><Link>PeterO/Numbers/ETrapException.cs</Link></Compile><Compile Include='../Numbers/PeterO/DebugUtility.cs'><Link>PeterO/DebugUtility.cs</Link></Compile><Compile Include='Properties/AssemblyInfo.cs'/></ItemGroup><Import Project='$(MSBuildToolsPath)\Microsoft.CSharp.targets'/></Project>

Numbers20/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Reflection;
22
[assembly: System.CLSCompliant(true)]
3-
[assembly: AssemblyInformationalVersion("1.7.2-a0")]
4-
[assembly: AssemblyVersion("1.7.2")]
3+
[assembly: AssemblyInformationalVersion("1.7.2")]
4+
[assembly: AssemblyVersion("1.7.2.0")]
55
[assembly: AssemblyFileVersion("1.7.2.0")]
66
[assembly: AssemblyProduct("Arbitrary-Precision Number Library")]
77
[assembly: AssemblyTitle("Arbitrary-Precision Number Library")]

0 commit comments

Comments
 (0)