This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: newlib?: pow function can produce incorrect results.
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 24 Apr 2007 02:07:52 +0100
- Subject: RE: newlib?: pow function can produce incorrect results.
- References: <17190.86623.qm@web59108.mail.re1.yahoo.com>
On 24 April 2007 00:53, Cary R. wrote:
> I had some more time to look into this and when the
> simple C program I mentioned earlier uses variables
> like the other program, incorrect results are
> produced. I have attached this C/C++ program. I
> certainly don't understand what is going on. I would
> have expected pow to be pass-by value which should
> make the two calls identical from a system standpoint,
> but the results imply something different. Any
> suggestions would be greatly appreciated.
The notorious PR323.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/