This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

cygwin-1.3.1-1 badly broken for numerics?


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


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