Repository navigation
v2.6.3
v2.6.3 (patch)
Changes since v2.6.2:
- Throw OverflowException when Multiply or Divide leaves the int exponent range (@Claude)
- Throw ArgumentException from Clamp when min is greater than max (@Claude)
- Report Radix as 10, since the type is base 10 (@Claude)
- Move zero-to-a-power into its own helper to keep Pow's complexity down [patch] (@Claude)
- Replace the nested ternaries in MaxMagnitude and MinMagnitude with an if [patch] (@Claude)
- Drop the Debug.Assert that rejects decimals like 10.0m [patch] (@Claude)
- Throw DivideByZeroException for zero to a negative power [patch] (@Claude)
- Break MaxMagnitude and MinMagnitude ties by sign, as int and double do [patch] (@Claude)
- Round to negative decimal places correctly for integers (@Claude)
- Count trailing zeros in IsEvenInteger and IsOddInteger (@Claude)
What's Changed
- Count trailing zeros in IsEvenInteger and IsOddInteger by @matt-edmondson in #107
- Round to negative decimal places correctly for integers by @matt-edmondson in #108
- Break MaxMagnitude and MinMagnitude ties by sign, as int and double do by @matt-edmondson in #113
- Throw DivideByZeroException for zero to a negative power by @matt-edmondson in #114
- Drop the Debug.Assert that rejects decimals like 10.0m by @matt-edmondson in #115
- Report Radix as 10, since the type is base 10 by @matt-edmondson in #118
- Throw ArgumentException from Clamp when min is greater than max by @matt-edmondson in #119
- Throw OverflowException when Multiply or Divide leaves the int exponent range by @matt-edmondson in #120
Full Changelog: v2.6.2...v2.6.3