pow - How can I create a power function with negative exponent in Clojure? -
i've seen many ways develop power function in clojure (recursion, using reduce
, loop
, etc), none of them accepts negative exponents...
can without depending on java's math/pow
?
here hint of how use regular algorithms:
Comments
Post a Comment