[Mingw-w64-public] Math library discrepancies that surprised me.

2011-04-29 Thread Arthur Norman
The following short program compares the value of pow(x, 0.5) to that returned by sqrt(x) for a range of values of x, and prints out any first case where the two do not agree. With the mingw family of compilers I had expected the Microsoft C library to be in use. What I appear to see is lin

Re: [Mingw-w64-public] Math library discrepancies that surprised me.

2011-04-29 Thread K. Frank
Hello Arthur! (I've take the liberty of copying this to the mingw list, as well.) On Fri, Apr 29, 2011 at 9:54 AM, Arthur Norman wrote: > The following short program compares the value of pow(x, 0.5) to that > returned by sqrt(x) for a range of values of x, and prints out any first > case where t

Re: [Mingw-w64-public] Math library discrepancies that surprised me.

2011-04-29 Thread James K Beard
ough. James K Beard -Original Message- From: K. Frank [mailto:kfrank2...@gmail.com] Sent: Friday, April 29, 2011 3:56 PM To: mingw64; MinGW Users List Subject: Re: [Mingw-w64-public] Math library discrepancies that surprised me. Hello Arthur! (I've take the liberty of copying this to the