File tree 7 files changed +17
-13
lines changed
7 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1
1
<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' s Gcd method for large integers
5
+
6
+ Version 1.7.1
3
7
4
8
- Fix bugs in new char[] and byte[] overloads of FromString
5
9
@@ -10,4 +14,4 @@ Version 1.7.0
10
14
- Added Log1P and ExpM1 methods to EDecimal and EFloat
11
15
- Added ' long' overloads to several arithmetic methods
12
16
- 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
+ >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public static void Log(string str) {
41
41
wr = writer ;
42
42
}
43
43
if ( wr != null ) {
44
- #if ! NET20
44
+ #if ! NET20 && ! NET40
45
45
System . Diagnostics . Debug . WriteLine ( str ) ;
46
46
#endif
47
47
wr ( str ) ;
Original file line number Diff line number Diff line change 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=' '$(Configuration)' == '' '>Debug</Configuration><Platform Condition=' '$(Platform)' == '' '>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=' '$(Configuration)'=='Debug' '><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=' '$(Configuration)'=='Release' '><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=' '$(Configuration)' == '' '>Debug</Configuration><Platform Condition=' '$(Platform)' == '' '>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=' '$(Configuration)'=='Debug' '><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=' '$(Configuration)'=='Release' '><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>
Original file line number Diff line number Diff line change 1
1
using System . Reflection ;
2
2
[ 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 " ) ]
5
5
[ assembly: AssemblyFileVersion ( "1.7.2.0" ) ]
6
6
[ assembly: AssemblyProduct ( "Arbitrary-Precision Number Library" ) ]
7
7
[ assembly: AssemblyTitle ( "Arbitrary-Precision Number Library" ) ]
You can’t perform that action at this time.
0 commit comments