delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/11/03/14:29:19

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <5276A3FD.4090005@iki.fi>
Date: Sun, 03 Nov 2013 21:29:01 +0200
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: DJGPP tests update
References: <526E3D35 DOT 7010600 AT iki DOT fi> <527640BE DOT 30500 AT gmx DOT de>
In-Reply-To: <527640BE.30500@gmx.de>
Reply-To: djgpp-workers AT delorie DOT com

On 11/03/2013 02:25 PM, Juan Manuel Guerrero wrote:
> Am 28.10.2013 11:32, schrieb Andris Pavenis:
> [snip]
>> cygnus tests shows problems with strtod*: the returned
>> tail part (second parameter) does not match the expected
>> value for part of tests.
>
> Sorry, may be I am missing something but can you show
> me the place where it happens so I can try to fix it.
>
 From unchanged test sources I'm getting something like:

strtod:13 inacurate answer: (00000001 should be 00000000)

and many following in the same way for both strtod and strtodf.

Adding debugging output to strtod test shows that
the return value is correct, but the returned pointer to
tail (second parameter) is not was is expected

Tested for some given strings under Linux and got the expected
values of tail for those which I tested.

This is however not too serious as the problem is for such strings
that could be considered as abnormal.

Andris

PS. Earlier tests was with 1st build of gcc-4.8.2 for DJGPP. Now tested
with gcc-4.9-20131101 and build went OK and the test results were
the same. So it looks we will not need to patch DJGPP sources for
upcoming gcc-4.9

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019