Skip to content

Commit 94ef6ab

Browse files
authored
Merge pull request #5259 from iCharlesHu/charles/decimal-pow
Remove Decimal.pow() in favor of the one defined in FoundationEssentials
2 parents 33c045a + d4f5428 commit 94ef6ab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Sources/Foundation/Decimal.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ extension Decimal : _ObjectiveCBridgeable {
3939

4040
// MARK: - C Functions
4141

42-
public func pow(_ x: Decimal, _ y: Int) -> Decimal {
43-
_pow(x, y)
44-
}
45-
4642
public func NSDecimalAdd(_ result: UnsafeMutablePointer<Decimal>, _ lhs: UnsafePointer<Decimal>, _ rhs: UnsafePointer<Decimal>, _ roundingMode: Decimal.RoundingMode) -> Decimal.CalculationError {
4743
_NSDecimalAdd(result, lhs, rhs, roundingMode)
4844
}

0 commit comments

Comments
 (0)