Ignore:
Timestamp:
May 20, 2010, 12:35:16 PM (12 years ago)
Author:
Sven Rech
Message:

replaced all BigInteger stuff with the new BigInteger class from .net 4.0

But there are still problems with some plugins (Keysearcher, BigInteger Operations...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/BigNumber/BigNumberInput.cs

    r807 r1448  
    2424using Cryptool.PluginBase;
    2525using System.ComponentModel;
     26using System.Numerics;
    2627
    2728namespace Cryptool.Plugins.BigNumber
     
    3940        #region Properties
    4041
    41         private BigInteger numberOutput = null;
     42        private BigInteger numberOutput = 0;
    4243        /// <summary>
    4344        /// The output is defined
     
    105106            try
    106107            {
    107                 bi = BigInteger.parseExpression(settings.Number);               
     108                bi = BigIntegerHelper.parseExpression(settings.Number);               
    108109            }
    109110            catch (Exception ex)
Note: See TracChangeset for help on using the changeset viewer.