This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
The attached patch fixes a problem with chosing the proper branch cut for csqrt((0,-1)). This problem is also in glibc in that libgfortran imported glibc's csqrt{f}, which is used on OS's without these functions in libm. Bubblestrap and regresion tested on amd64-*-freebsd. 2005-10-11 Steven G. Kargl <kargls@comcast.net> PR libgfortran/24313 * c99_functions.c (csqrtf, csqrt): Fix choice of branch cut. gfortran.dg/csqrt_2.f: New test. -- Steve
Attachment:
csqrt_2.f
Description: Text document
Attachment:
c99_functions.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |