<
8000
td data-grid-cell-id="diff-5d44a8c5c4d899266db2d41ded8726c0869a7388fce9c5fedd991e6c7ed9cf40-652-652-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-accent-muted, var(--color-accent-subtle));flex-grow:1" tabindex="-1" valign="top" class="focusable-grid-cell diff-hunk-cell left-side" colSpan="4">@@ -653,22 +653,21 @@ testname:output:platformpattern=comparisonfilename
653
653
</para>
654
654
655
655
<para>
656
- For example: some systems interpret very small floating-point values
657
- as zero, rather than reporting an underflow error. This causes a
658
- few differences in the <filename>float8 </filename> regression test.
656
+ For example: some systems lack a working <literal>strtof</literal> function,
657
+ for which our workaround causes rounding errors in the
658
+ <filename>float4 </filename> regression test.
659
659
Therefore, we provide a variant comparison file,
660
- <filename>float8-small-is-zero .out</filename>, which includes
660
+ <filename>float4-misrounded-input .out</filename>, which includes
661
661
the results to be expected on these systems. To silence the bogus
662
- <quote>failure</quote> message on <systemitem>OpenBSD </systemitem>
662
+ <quote>failure</quote> message on <systemitem>HP-UX 10 </systemitem>
663
663
platforms, <filename>resultmap</filename> includes:
664
664
<programlisting>
665
- float8 :out:i.86-.*-openbsd=float8-small-is-zero .out
665
+ float4 :out:hppa.*-hp-hpux10.*=float4-misrounded-input .out
666
666
</programlisting>
667
667
which will trigger on any machine where the output of
668
- <command>config.guess</command> matches <literal>i.86-.*-openbsd</literal>.
669
- Other lines
670
- in <filename>resultmap</filename> select the variant comparison file for other
671
- platforms where it's appropriate.
668
+ <command>config.guess</command> matches <literal>hppa.*-hp-hpux10.*</literal>.
669
+ Other lines in <filename>resultmap</filename> select the variant comparison
670
+ file for other platforms where it's appropriate.
672
671
</para>
673
672
674
673
<para>
0 commit comments