This is the mail archive of the cygwin-apps mailing list for the Cygwin 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]


Yaakov Selkowitz writes:
> On 2016-03-20 14:04, Achim Gratz wrote:
>> Doing that seems to have changed the behaviour of sprintf and now one of
>> the tests involving NaN and the %a format fails.  Ideas?
> Can you be more specific?

The error is this:

--8<---------------cut here---------------start------------->8---
Failed test 346 - NaN sprintf %a is NaN at op/infnan.t line 303
#      got "0x1.8p-1"
# expected "NaN"
--8<---------------cut here---------------end--------------->8---

It _is_ definitely related to defining _GNU_SOURCE, so hopefully that
gives a clue as to where it's happening.  I've just switched the second
machine back to Cygwin 2.4.1 to see if it was somehow one of the newlib
changes in 2.5.0, but it's not.  I have no idea yet how _GNU_SOURCE
figures into the issue, only that Perl sprintf is a big hairball of
workarounds for various system implementations (and for the test in
question involving %a format probably doesn't even use the system/newlib

I've ran out of time, I will build without _GNU_SOURCE again tomorrow
and see if that produces any differences in config.h that are notable.

+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:

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