Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6ee8995

Browse files
committed
Remove float8-small-is-zero regression test variant.
Since this was also the variant used as an example in the docs, updatethe docs to use float4-misrounded-input as an example instead, sincethat is now the only remaining variant file.
1 parent48e24ba commit6ee8995

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 systemsinterpret 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 systemslack 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)

[8]ページ先頭

©2009-2025 Movatter.jp