Skip to content

Commit 265e858

Browse files
t-a-kjkeenan
authored andcommitted
POSIX.pod: wording fix in the description of testing NaN-ness
Equality operators test equality, not equivalence.
1 parent 57a7a91 commit 265e858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/POSIX/lib/POSIX.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ L<equality operators|perlop/"Equality Operators"> (C<==> or C<!=>), as in
830830

831831
print "x is not a NaN\n" if $x == $x;
832832

833-
since the C<NaN> is not equivalent to anything, B<including itself>.
833+
since the C<NaN> is not equal to anything, B<including itself>.
834834

835835
See also L</nan>, L</NaN>, L</isinf>, and L</fpclassify>.
836836

0 commit comments

Comments
 (0)