This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [RFC][BZ #15799] Make div cross-platform.


On Fri, Oct 25, 2013 at 08:09:20PM +0000, Joseph S. Myers wrote:
> On Fri, 25 Oct 2013, Ondrej Bilka wrote:
> 
> > Hi, following bug report complains that division does not satisfy c
> > standard.
> 
> The bug report is about code that can never be executed - that is, the 
> logic errors in it are of no significance.  Everything after the 
> assignments to result.quot and result.rem, except for the return 
> statement, should just be deleted as irrelevant given C99 semantics for 
> division, and those assignments should be left unchanged.  This should be 
> done for all of div, ldiv and lldiv.  This code is not shared with gnulib, 
> so random C90 compilers are irrelevant to it.
> 
Then close that bug as invalid.


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