Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 15 Mar 2012 19:14:09 +0100
From: Pascal Cuoq <>
To: "" <>
Cc: "" <>
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().


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.