Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
refactor/operator-specific-classes (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Eigenmann authored Feb 13, 2019
1 parent 9da032d commit e59ae18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Sources/BeaconChain/Operators/Int.swift

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ extension UInt64 {
}
}

extension Int {

static func ** (radix: Int, power: Int) -> Int {
return Int(pow(Double(radix), Double(power)))
}
}

0 comments on commit e59ae18

Please sign in to comment.