Hi,

I was looking at a change (between 5.18.0 and 5.20.0) in the numeric flags that are set.
On another list, dave_the_m pointed me to the following commit (which accounts for the change in behaviour):
commit b127e37e51c21b0a36755dcd19811be931a03d83 Author: Karl Williamson <pub...@khwilliamson.com> Date: Mon May 13 07:35:35 2013 -0600 PATCH: [perl #108378] [perl #115800] This patch solves two tickets. Both are a result of the stringification of a floating number being sticky, so that the character representing + the decimal point may be from an old locale. The patch solves this b +y not retaining the stringification of NVs.
Now, I know the commit was not made in time for 5.18.0 (because I have 5.18.0, and it displays the old behaviour) ... and I know it *is* in 5.20.0 (because I have 5.20.0 and it displays the new behaviour).
What I don't know is whether it was ever backported to a subsequent 5.18.x release.
Is there a way to find out by examining publicly available information ?

I tried searching perl5181delta.pod, perl5182delta.pod and perl5184delta.pod for the string NV but that turned up no hits.
I couldn't find a perl5183delta.pod in my perl-5.25.6 source download. (WTF ?)

I guess I could start by grabbing the various 5.18.x distros and see which behaviour they exhibit, but that seems a rather tedious approach.
What guarantee is there that it hasn't been backported to a 5.16.x release ?

I've no issue with the change itself - it serves my purposes fine. I'm just a bit curious to know which versions are affected as it has relevance for Math::MPFR->new($arg) - which takes its cues on how to proceed from $arg's numeric flags.

For those curious about the exact nature of the change, I run (on Windows):
C:\>perl -MDevel::Peek -le "$x = 2.7; print $x; Dump $x;"
On 5.18.0, the Dump() reveals that the set flags are (NOK,POK,pNOK,pPOK)
On 5.20.0, the Dump() reveals that the set flags are (NOK,pNOK).

Cheers,
Rob

In reply to Determining if a change in perl was backported by syphilis

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.