mexprp icon indicating copy to clipboard operation
mexprp copied to clipboard

use num::Complex instead of ComplexFloat

Open autumnull opened this issue 3 years ago • 0 comments

The ComplexFloat struct doesn't implement most of the wide variety of functions you might want from a complex number. This issue makes it very difficult to fill out the rest of the methods for the mexprp::Num trait, and also makes using ComplexFloat from a user perspective very frustrating.

Thankfully, that functionality already exists, in num::Complex. I suggest using this existing crate instead of ComplexFloat, because it should make the library code much easier to write and be more useful to the user.

autumnull avatar Jul 21 '21 14:07 autumnull