Date: Thu, 15 Mar 2012 19:14:09 +0100 From: Pascal Cuoq <pascal.cuoq@...il.com> To: "musl@...ts.openwall.com" <musl@...ts.openwall.com> Cc: "musl@...ts.openwall.com" <musl@...ts.openwall.com> Subject: Re: correctly rounded sqrt >> >> if (signexp >= 0x7fff) is probably a better check > > Haha, this is the second time I stupidly forget sqrt(x) is > nonnegative... :-) Fixing it.. I apologize if this is not relevant —I admit I followed the discussion with only half my attention— but note that sqrt(-0.) is -0., so the sign bit may be set in both argument and result of sqrt(). > Pascal
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.