Pearu Peterson

Results 177 comments of Pearu Peterson

According to https://en.cppreference.com/w/cpp/numeric/complex/asin special cases, ``` asin(complex(+oo, +x)) = -I * asinh(complex(-x, +oo)) = -I * conj(asinh(complex(-x, -oo))) = -I * conj(-asinh(complex(+x, +oo))) = -I * conj(-complex(+oo, pi/2)) = I...

~`1 + oo*I` in Mathematica is `DirectedInfinity[1 + I]`~ - that is wrong, sorry for the noise. Within the rectangular form of complex numbers that `mpmath.mpc` and Python/Numpy/C++... `complex` data...

> Infinite complex numbers per the c11 have 8 variants as directed infinities, ... Absolutely. The OT remark was for the complex infinity as the top point of Riemann sphere...

I am not sure that mpmath is going in the right direction considering the discussions here. According to mpmath docs and its history, mpmath is "A Python library for arbitrary-precision...

> > I am not sure that mpmath is going in the right direction considering the discussions here. > > As the proposed change introduced incompatibilities, I think we should...

> Certainly, not all context could have this notion. How about iv? Or arb/acb-like implementations for mpf/mpc? > ... > What about subnormals? The answers to these depend on the...

> Is there any plan or workaround to support int32? As a workaround, consider using sparse CSR format that indices support both int32 and int64 types. Also notice that the...

> ... we see that you propose also supporting undefined fill. That's a pretty major proposal (partially because it contradicts "a sparse tensor is a drop-in replacement of dense tensors...

> Hi @pearu , gentle reminder! Thanks. @kamaljeeti , thanks for the reminder! The reviewers request for the regression test has been addressed via https://github.com/google/jax/pull/19823 . This PR can be...

> @pearu [google/jax#20144](https://github.com/google/jax/pull/20144) has landed. Could you please help update the PR? :) @penpornk, certainly :) Meanwhile, https://github.com/openxla/xla/pull/10503 introduced a testing framework for functions with complex inputs in the XLA...