------- Comment #3 from ghazi at gcc dot gnu dot org  2007-01-13 05:17 -------
(In reply to comment #2)
> (In reply to comment #1)
> > We can implement the complex variants in term of the real ones in mpfr, no? 
> >  I
> > don't like the idea of another build-dependency ;)
> > 
> Yes, you can.  gfortran does this already for several Fortran
> intrinsic functions.  See fortran/simplify.c.

Yes, but think of the waste of creating all these complex functions only to
hide them inside GCC.  In a perfect world, these would exist inside MPFR or MPC
and I'd have more confidence they'd have less bugs.

Sigh, in the real world I guess it'll have to be a one-off for GCC and hope I
don't hose all the corner cases.  I'm not a wiz at this exact precision
calculation hooha.  Hopefully someone will stop me before I shoot myself. :-)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30447

Reply via email to