BigInteger Extensions BigInteger Extensions
BigInteger Extensions BigInteger Extensions
DocFX + Singulink = ♥

Search Results for

    Property OptimizationsEnabled

    OptimizationsEnabled

    Gets a value indicating whether optimizations that depend on expected BigInteger structure internals are enabled.

    Declaration
    public static bool OptimizationsEnabled { get; }
    Property Value
    Type Description
    bool
    Remarks

    Optimizations for this version of the library are enabled as long as BigInteger's internal representation matches expectations that the optimizations depend on, which at the time of release of this version of the library is true for all supported runtimes up to and including .NET 9. A warning is emitted to the debug console and optimizations are disabled if changes to the BigInteger internals are detected as there are plans to eventually reimplement the type to utilize a 2's complement internal representation instead of the current 1's complement representation. A new version of the library will be released if/when that happens to accommodate the new implementation.

    © Singulink. All rights reserved.