Skip to content

Commit 6ee8995

Browse files
committed
Remove float8-small-is-zero regression test variant.
Since this was also the variant used as an example in the docs, update the docs to use float4-misrounded-input as an example instead, since that is now the only remaining variant file.
1 parent 48e24ba commit 6ee8995

File tree

2 files changed

+9
-1080
lines changed

2 files changed

+9
-1080
lines changed

doc/src/sgml/regress.sgml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -653,22 +653,21 @@ testname:output:platformpattern=comparisonfilename
653653
</para>
654654

655655
<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.
659659
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
661661
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>
663663
platforms, <filename>resultmap</filename> includes:
664664
<programlisting>
665-
float8:out:i.86-.*-openbsd=float8-small-is-zero.out
665+
float4:out:hppa.*-hp-hpux10.*=float4-misrounded-input.out
666666
</programlisting>
667667
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.
672671
</para>
673672

674673
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy