This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Integrate gfortran with MPC


On Sun, 2009-05-31 at 23:52 +0200, Dominique Dhumieres wrote:

> Any better ideas?

Maybe not better, but...

IMHO, we should be looking at limits.

a/(c+i*d) expands to a*c/(c*c+d*d) - a*d/(c*c+d*d).  For
c=0 and d=0, this is 0/0, or NaN + i * NaN.


	Thomas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]