Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Subject: cygwin-1.3.1-1 badly broken for numerics? To: cygwin AT cygwin DOT com X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: BMetzenthen AT cochlear DOT com DOT au Date: Wed, 9 May 2001 13:24:36 +1000 X-MIMETrack: Serialize by Router on CLTD_HUB01/COH(Release 5.0.7 |March 21, 2001) at 09-05-2001 01:27:45 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii The code in cygwin1.dll from cygwin-1.3.1-1 seems to be broken in at least two ways. Operating system: NT 4.0 SP6 1) In a previously working program, the function log10() was returning a NaN when a sensible argument was given to it (I don't have the exact value of the argument now but it was about 47.0). Replacing the function with log(x)/log(10) fixed this problem in my code. This problem arose in code which was working fine before cygwin-1.3.1-1. 2) The same program was also producing NaNs in a number of other places with cygwin-1.3.1-1. While trying to track the source on one of the NaN's down, I inserted a printf() and that NaN disappeared. The assembly listing showed no changes which should have resulted in the NaN disappearing. 3) Restoring all of cygwin-1.1.8-2 apart from cygwin1.dll, and recompiling my program did not fix the problem. Additionally installing the cygwin1.dll from cygwin-1.1.8-2 fixed the problem. 4) cygwin-1.3.1-1 also appeared to break a perl script which I use for some numerical stuff but I haven't investigated this further, I'll stick with cygwin-1.1.8-2 for now... Apologies that this message is not more helpful. Also apologise if this has been covered n times on the mailing list -- how do you get the mailing list search engine to look for 1.3.1 ? --------------------------------------------------------------------------------------------- "The information contained in this e-mail message may be confidential information, and may also be privileged. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you have received this message in error, please notify us by return email and delete the original message." -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple