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]

Re: Patch for bug 21720


On Fri, Jul 29, 2005 at 12:18:14AM +0000, Joseph S. Myers wrote:
> +	  else if (d)
> +	    /* Ensure correct rounding by setting last bit if there is
> +	       a subsequent nonzero digit.  */
> +	    r->sig[0] |= 1ULL;

Ok, except for the fact that ull is not in c90.  Just use 1.


r~


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