dzhang314 / MultiFloats.jl

Fast, SIMD-accelerated extended-precision arithmetic for Julia
MIT License
77 stars 10 forks source link

Support a^b #8

Closed lrnv closed 3 years ago

lrnv commented 3 years ago

if A and B are MultiFloats, then a^b should return a proper output. For the moment i fall back to exp(b*log(a))

dzhang314 commented 3 years ago

Hey @lrnv , this is exactly the implementation strategy I plan to use for a^b as well, once exp and log are implemented as per your other issue. I might also add special cases for b being a small integer or half-integer, if that turns out to be more efficient.