mirror of
https://github.com/chylex/Query.git
synced 2025-12-27 21:38:24 +01:00
Compare commits
2 Commits
d52ec8a615
...
2b9d5bba8f
| Author | SHA1 | Date | |
|---|---|---|---|
|
2b9d5bba8f
|
|||
|
8380aaa9f8
|
@@ -35,7 +35,7 @@ public abstract record Number : IAdditionOperators<Number, Number, Number>,
|
||||
|
||||
public override Number Pow(Number exponent) {
|
||||
if (exponent is Rational { Value: {} rationalExponent }) {
|
||||
Fraction fractionExponent = Fraction.ReduceToProperFraction(rationalExponent.GetImproperFraction());
|
||||
Fraction fractionExponent = rationalExponent.GetImproperFraction();
|
||||
|
||||
if (fractionExponent.Numerator >= 0 && fractionExponent.Denominator == 1) {
|
||||
try {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<Authors>chylex</Authors>
|
||||
<Version>2.1.0.0</Version>
|
||||
<Version>2.0.0.0</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user