Class BigIntegerExtensions
Provides useful extension methods for BigInteger values.
Inherited Members
Namespace: Singulink.Numerics
Assembly: Singulink.Numerics.BigIntegerExtensions.dll
Syntax
public static class BigIntegerExtensions
Properties
Name | Description |
---|---|
OptimizationsEnabled | Gets a value indicating whether optimizations that depend on internal BigInteger structure are enabled. |
Methods
Name | Description |
---|---|
CountDigits(BigInteger) | Calculates the number of base 10 digits in the value. Zero values return 1. |
CountDigitsAndTrailingZeros(BigInteger) | Calculates the number of base 10 digits and trailing zeros in the value. Zero values return 1 digit and 0 trailing zeros. |
Divide(BigInteger, BigInteger, RoundingMode) | Divides two BigInteger values and uses the specified rounding mode for any fractional component of the result. |