On Tuesday, April 7, 2015 at 8:43:58 PM UTC+2, Jean-Pierre Flori wrote: > > > > On Tuesday, April 7, 2015 at 6:56:56 PM UTC+2, vdelecroix wrote: >> >> Hello, >> >> We currently ship two implementations of floating point complex numbers: >> - ComplexField: home made implementation based on two mpfr for the >> real and imaginary parts >> - MPComplexField: implementation based on the library mpc >> >> Those two implementations serve the same purpose. Note that in their >> current states MPComplexField is more accurate and support various >> rounding modes. There are minor variations on the method implemented >> on elements. >> >> I guess that ComplexField is mostly here for historical reason. Is >> there a reason to keep ComplexField and not use MPComplexField by >> default? >> >> Last time I checked, CC was faster for certain basic operations. > (And the reason why is simple: both CC and MPC use MPFR but MPC does a lot of checks for infinities and nans and so on that the CC cython code does not. )
> Vincent >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.