Skip to content

Instantly share code, notes, and snippets.

@masters3d
Created February 19, 2015 06:18
Show Gist options
  • Save masters3d/53f7f60264c80c8040d0 to your computer and use it in GitHub Desktop.
Save masters3d/53f7f60264c80c8040d0 to your computer and use it in GitHub Desktop.
OverRide POW
func pow(lhs:Int, rhs:Int)->Double{
return pow(Double(lhs),Double(rhs))
}
func pow(lhs:Double, rhs:Int)->Double{
return pow(lhs,Double(rhs))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment