[PATCH 1/3] Optimize trunc() and truncf().
Mike Frysinger
vapier@gentoo.org
Wed May 25 17:24:00 GMT 2016
On 25 May 2016 15:36, Joseph Myers wrote:
> On Tue, 24 May 2016, Matt Turner wrote:
> > - else
> > - {
> > - if (j0 == 0x400)
> > - /* x is inf or NaN. */
> > - return x + x;
> > - }
>
> You're removing too much code here. You need to keep this addition in the
> NaN case to ensure that signaling NaNs raise "invalid" and get converted
> to quiet NaNs in the process.
does this mean current test coverage is insufficient ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160525/bb6cf696/attachment.sig>
More information about the Libc-alpha
mailing list