RosettaCodeData/Task/Exponentiation-operator/Haskell/exponentiation-operator-3.hs
2023-07-01 13:44:08 -04:00

2 lines
59 B
Haskell

(**) :: Floating a => a -> a -> a
x ** y = exp (log x * y)