Skip to content

Commit

Permalink
Remove MidpointRounding overloads.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikernet committed Jun 15, 2021
1 parent e9b5ac0 commit c52f810
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,7 @@ public static int CountDigits(this BigInteger value)
}

/// <summary>
/// Divides two <see cref="BigInteger"/> values and applies the specified rounding to any fractional component of the result.
/// </summary>
public static BigInteger Divide(this BigInteger dividend, BigInteger divisor, MidpointRounding mode = MidpointRounding.ToEven)
{
return Divide(dividend, divisor, mode.ToRoundingMode());
}

/// <summary>
/// Divides two <see cref="BigInteger"/> values and applies the specified rounding to any fractional component of the result.
/// Divides two <see cref="BigInteger"/> values and uses the specified rounding mode for any fractional component of the result.
/// </summary>
public static BigInteger Divide(this BigInteger dividend, BigInteger divisor, RoundingMode mode = RoundingMode.MidpointToEven)
{
Expand Down

This file was deleted.

0 comments on commit c52f810

Please sign in to comment.