This is the mail archive of the gcc-bugs@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]

[Bug fortran/31202] Incorrect rounding generated for NINT



------- Comment #7 from kargl at gcc dot gnu dot org  2007-06-29 16:10 -------
(In reply to comment #6)
> (In reply to comment #5)
> > is this patch still OK ?
> 
> The lround patch should be OK on C99 targets, but it would probably break
> things on non-C99 targets, which is why I didn't submit it for formal review. I

On non-c99 targets, gfortran supplies roundf and roundl.  You could
do (GFC_INTEGER_?) roundl() for lroundl().


-- 


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


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