Any advice, generic or specific, would be welcome.

Have you looked at the specific failing reports ?

For example, this one (MS Windows, perl-5.16.0) shows that all of the failures are related to the way that NaN is being displayed.
MS Windows has a myriad of ways of displaying NaN.

Interestingly, the module passes all tests on 5.16.0 for me (on Windows) but I'm not using the precise Strawberry build that produced that FAIL report.
You could grab the perl that produced that FAIL report and give it a spin yourself.
(My perl-5.16.0 was built with a different version of gcc from a different vendor.)

Similarly, the other FAIL reports I looked at arose because an expected 'nan' turned out to be '-nan' (or vice-versa).

It seems to me that there's a diversity in the way that the sign of the NaN is determined.
If IEEE-754 decrees that such diversity should not exist then you're obviously up against a number of perl builds that are not compliant with IEEE-754 in that regard.
And it's quite likely not perl's fault - rather the fault of the underlying system/compiler/libc.

If you really want to test the sign of NaN I would suggest that, at the 'perl Makefile.PL' step, you run a C program that determines whether NaN's signedness is being treated as you expect.
Then proceed to act on that determination as you wish.
(That is, if there's a problem with the setting of the sign, do you want to provide a workaround ? ... or do you want to skip the tests regarding the sign ? ... or do you want to do something else ?)

As a ghastly example of what I'm alluding to, you could look at what I do in Math::LongDouble to determine such things as whether nan**0 is evaluated correctly.

Cheers,
Rob

In reply to Re: Advice wanted for debugging CPAN Testers failures by syphilis
in thread Advice wanted for debugging CPAN Testers failures by pryrt

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.