summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-24 08:39:58 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-24 09:13:07 -0700
commitb630937b8bf49e835d8976fc1036e68c79585b04 (patch)
tree4dbc9ebdd1705d44bea6b4f14f566b9f64ae7358
parentfeba1f01825ab9e965f536eadad3c9d06fad33aa (diff)
downloadperl-b630937b8bf49e835d8976fc1036e68c79585b04.tar.gz
perlapi: Fix misstatement
According to the comments for Perl_sv_setuv(), for performance reasons, a UV that fits in an IV is stored as an IV.
-rw-r--r--sv.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sv.h b/sv.h
index b841464177..f01a91c476 100644
--- a/sv.h
+++ b/sv.h
@@ -655,10 +655,12 @@ Tells an SV that it is an integer and disables all other OK bits.
Tells an SV that it is an unsigned integer and disables all other OK bits.
=for apidoc Am|bool|SvIOK_UV|SV* sv
-Returns a boolean indicating whether the SV contains an unsigned integer.
+Returns a boolean indicating whether the SV contains an unsigned integer
+that is too large to store as an IV.
=for apidoc Am|bool|SvUOK|SV* sv
-Returns a boolean indicating whether the SV contains an unsigned integer.
+Returns a boolean indicating whether the SV contains an unsigned integer
+that is too large to store as an IV.
=for apidoc Am|bool|SvIOK_notUV|SV* sv
Returns a boolean indicating whether the SV contains a signed integer.