diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-12-24 08:39:58 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-12-24 09:13:07 -0700 |
commit | b630937b8bf49e835d8976fc1036e68c79585b04 (patch) | |
tree | 4dbc9ebdd1705d44bea6b4f14f566b9f64ae7358 | |
parent | feba1f01825ab9e965f536eadad3c9d06fad33aa (diff) | |
download | perl-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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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. |