Nope, that doesn't make differences go away, seeing as I was using SP 5.30.2 downloaded and installed less than a week ago. That's newer than 5.26, yet the output was different that the perl built gcc on Unbuntu on WSL on the same machine. The SP build does have -D__USE_MINGW_ANSI_STDIO

Strawberry Perl 5.30.2 on Windows:

>perl -e"CORE::say $^X" C:\progs\sp5302x64\perl\bin\perl.exe >perl -v | find "This is" This is perl 5, version 30, subversion 2 (v5.30.2) built for MSWin32-x +64-multi-thread >perl -V:nvsize nvsize='8'; >perl -V:ccflags ccflags=' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STD +IO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SY +S -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields'; >perl -e"CORE::say sprintf '%.20g', 0.1" 0.10000000000000000555

Self-built Perl 5.30.2 on Ubuntu 18.04 LTS on WSL on Windows:

$ uname -a Linux tribble 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 + PST 2019 x86_64 x86_64 x86_64 GNU/Linux $ perl -v | grep 'This is' This is perl 5, version 30, subversion 2 (v5.30.2) built for x86_64-li +nux-thread-multi $ perl -V:nvsize nvsize='8'; $ perl -e'CORE::say sprintf "%.20g", 0.1' 0.10000000000000001

In reply to Re^8: Windows / Linux puzzler by ikegami
in thread Windows / Linux puzzler by lbrandewie

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.