Skip to content

Commit 1a12934

Browse files
committed
perldelta for sort of overloaded numbers fix
1 parent f322e2d commit 1a12934

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pod/perldelta.pod

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,13 @@ manager will later use a regex to expand these into links.
420420

421421
=item *
422422

423-
XXX
423+
sort() optimizes common comparisons from calling the OP tree for a
424+
comparison block into a call to a C function. The C function used for
425+
overloaded numeric comparisons did not handle the case where there was
426+
no comparison overload but there was a numeric ("0+") overload
427+
correctly, losing precision for large overloaded integer arguments that
428+
are not exactly representable as a Perl floating point value (NV).
429+
[GH #23956]
424430

425431
=back
426432

0 commit comments

Comments
 (0)