Sergey B Kirpichev

Results 396 comments of Sergey B Kirpichev

Just for the record, that's Mathematica output: ``` In[4]:= Interval[{0, 0}] Interval[{1, Infinity}] Infinity::indet: Indeterminate expression 0 Infinity encountered. Out[4]= Interval[{0, Indeterminate}] ``` I doubt we have options here, given...

> Issue #550 seems to deal with long term strategic maintenance. Rather it's about there is no maintenance at all for now.

@metelev-sv, it seems, mpmath uses principal value of `exp(y*log(x))` for `power(x, y)`, just like Mathematica does: ``` $ wolframscript Wolfram Language 12.2.0 Engine for Linux x86 (64-bit) Copyright 1988-2021 Wolfram...

BTW, you can get an "expected" answer with ``` >>> mpmath.root(-8, 3, 1) mpf('-2.0') ```

Yeah, or could use mpmath's rationals (or builtin Fraction's), for example: ``` >>> import mpmath >>> mpmath.mp.dps = 50 >>> mpmath.root(-8, 3, 0) mpc(real='1.0', imag='1.7320508075688772935274463415058723669428052538103806') >>> mpmath.power(-8, mpmath.mp.mpq(1, 3)) mpc(real='1.0',...

btw, float's issue seems to be documented: https://mpmath.org/doc/current/basics.html#providing-correct-input You can also create exponent from the string: ``` >>> mpmath.power(-8, mpmath.mpf('1/3')) mpc(real='1.0', imag='1.7320508075688772935274463415058723669428052538103783') ```

Ok, then #588 should fix this issue. Let me know if you do think that https://mpmath.org/doc/current/basics.html#providing-correct-input should be rewritten/expanded.

@fredrik-johansson, I can automate Github releases [like I did](https://github.com/diofant/diofant/releases) for the [Diofant](https://github.com/diofant/diofant/releases): a draft release (private, you must approve it to be shown) will be created for every tag push....

@rocky, feel free to provide a PR. Nobody will stop you.