bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk 3.1.5h test results on interix


From: Aharon Robbins
Subject: Re: gawk 3.1.5h test results on interix
Date: Tue, 16 Oct 2007 22:55:34 +0200

Greetings. Re this:

> From: Martin Koeppe <address@hidden>
> Subject: gawk 3.1.5h test results on interix
> Date: Mon, 15 Oct 2007 09:35:29 +0200 (CEST)
> Message-ID: <address@hidden>
> To: address@hidden
>
> Hi,
>
> I just test built gawk 3.1.5h on interix 3.5. Building was fine, but 2 
> tests failed, see below.
>
> Martin
>
>
> --- fmtspcl.ok        Mon Oct 15 09:12:50 2007
> +++ _fmtspcl  Mon Oct 15 09:12:50 2007
> @@ -5,5 +5,10 @@
>   gawk: ./fmtspcl.awk:6: warning: [s]printf: value NaN is out of range for 
> `%d' format
>   gawk: ./fmtspcl.awk:6: warning: [s]printf: value NaN is out of range for 
> `%x' format
>   gawk: ./fmtspcl.awk:6: warning: [s]printf: value NaN is out of range for 
> `%d' format
> +sprintf(%f,NaN) = NaN (!= -NaN)
> +sprintf(%s,NaN) = NaN (!= -NaN)
> +sprintf(%g,NaN) = NaN (!= -NaN)
>   gawk: ./fmtspcl.awk:6: warning: [s]printf: value NaN is out of range for 
> `%x' format
> +sprintf(%x,NaN) = NaN (!= -NaN)
>   gawk: ./fmtspcl.awk:6: warning: [s]printf: value NaN is out of range for 
> `%d' format
> +sprintf(%d,NaN) = NaN (!= -NaN)

It would appear that your library doesn't distinguish negative and positive NAN 
values.
Is that true?

> --- tweakfld.ok       Fri Aug 11 14:05:50 2006
> +++ _tweakfld Mon Oct 15 09:13:45 2007

It seems that your library for sin and cos return small values where other
systems return zero. This code is a bit hard to follow, since it came in
a bug report, but that's what it looks like to me.

In any case, I think that for most things the version you've built should
be fine.  The tweakfld test is an old one --- if an older version of gawk
also fails on it under Interix then I don't think it's an issue.

Thanks,

Arnold




reply via email to

[Prev in Thread] Current Thread [Next in Thread]