Changeset 1448 for trunk/CrypPlugins/KeySearcher/KeySearcher.cs
 Timestamp:
 May 20, 2010, 12:35:16 PM (12 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/CrypPlugins/KeySearcher/KeySearcher.cs
r1244 r1448 14 14 using System.IO; 15 15 using Cryptool.PluginBase.IO; 16 using System.Numerics; 16 17 17 18 namespace KeySearcher … … 674 675 675 676 LinkedListNode<ValueKey> linkedListNode; 676 ProgressChanged(Math.Pow(10, keycounter.log(10)  size.log(10)), 1.0);677 ProgressChanged(Math.Pow(10, BigInteger.Log(keycounter, 10)  BigInteger.Log(size, 10)), 1.0); 677 678 678 679 if (QuickWatchPresentation.IsVisible && doneKeys != 0 && !stop) 679 680 { 680 double time = (Math.Pow(10, (size  keycounter).log(10)  doneKeys.log(10)));681 double time = (Math.Pow(10, BigInteger.Log((size  keycounter), 10)  BigInteger.Log(doneKeys, 10))); 681 682 TimeSpan timeleft = new TimeSpan(1); 682 683
Note: See TracChangeset
for help on using the changeset viewer.