summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTAKAI Kousuke <62541129+t-a-k@users.noreply.github.com>2022-01-14 01:05:53 +0900
committerJames E Keenan <jkeenan@cpan.org>2022-02-15 18:29:14 -0500
commit32d006195733d947290db028dce11bcaf8b1eed0 (patch)
tree63508b859223507ed1bc922237ee3a24f8f536b1
parentcc4fcefcb93f6c8a5e9146da9f4865d0711ffae0 (diff)
downloadperl-32d006195733d947290db028dce11bcaf8b1eed0.tar.gz
POSIX.pod: NaN-ness should be able to be tested by "=="
A note in the description of "isnan" used to say that NaN-ness cannot be tested with equality operator, but it should be possible.
-rw-r--r--ext/POSIX/lib/POSIX.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/lib/POSIX.pod b/ext/POSIX/lib/POSIX.pod
index 4f85f35c8c..52c927ca0d 100644
--- a/ext/POSIX/lib/POSIX.pod
+++ b/ext/POSIX/lib/POSIX.pod
@@ -825,7 +825,7 @@ to use instead. See L<perlrecharclass/POSIX Character Classes>.
Returns true if the argument is C<NaN> (not-a-number) [C99]. Added in
Perl v5.22.
-Note that you cannot test for "C<NaN>-ness" with
+Note that you can test for "C<NaN>-ness" with
$x == $x