This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnu software bugs - long double


On 2 November 2013 18:59, Mischa Baars wrote:
> On 11/02/2013 07:57 PM, Ian Lance Taylor wrote:
>>
>> On Sat, Nov 2, 2013 at 11:31 AM, Mischa Baars <mjbaars1977@gmail.com>
>> wrote:
>>>
>>> Here's the examples again, now each bug in a separate file. Hope it
>>> helps...
>>>
>>> Just compile with 'make' and run the executable. The source code is
>>> documented, so any questions you might have will probably be answered by
>>> reading the comments.
>>
>> Again I would suggest that you just put the code inline.
>>
>> In this case I downloaded your test case and ran it on my system.  The
>> two numbers printed were identical.
>
> Probably identical to each other, but certainly not identical to the input
> given in the source.

As Ian said, you make it unnecessarily difficult to review these
"bugs" - why do I have to download an archive and extract it to see a
10 line program?

Please read http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html
to understand this very, very basic property of floating point
numbers.


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