This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [PATCH] perl5.005_03-MAINT_TRIAL_3: clarify Sv[INU]V versus Sv[INU]VX in perlguts
authorM. J. T. Guy <mjtg@cus.cam.ac.uk>
Tue, 26 Jan 1999 22:25:07 +0000 (22:25 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 2 Feb 1999 12:54:24 +0000 (12:54 +0000)
To: perl5-porters@perl.org
Message-Id: <E105Gux-0000Ac-00@taurus.cus.cam.ac.uk>

p4raw-id: //depot/cfgperl@2773

pod/perlguts.pod

index 08da597..15ca4b7 100644 (file)
@@ -2862,13 +2862,13 @@ will return false.
 
 =item SvIV
 
-Returns the integer which is in the SV.
+Coerces the given SV to an integer and returns it.
 
        int SvIV (SV* sv)
 
 =item SvIVX
 
-Returns the integer which is stored in the SV.
+Returns the integer which is stored in the SV, assuming SvIOK is true.
 
        int     SvIVX (SV* sv)
 
@@ -2960,13 +2960,13 @@ B<private> setting.  Use C<SvNOK>.
 
 =item SvNV
 
-Returns the double which is stored in the SV.
+Coerce the given SV to a double and return it.
 
        double  SvNV (SV* sv)
 
 =item SvNVX
 
-Returns the double which is stored in the SV.
+Returns the double which is stored in the SV, assuming SvNOK is true.
 
        double  SvNVX (SV* sv)
 
@@ -3397,13 +3397,13 @@ appending it.
 
 =item SvUV
 
-Returns the unsigned integer which is in the SV.
+Coerces the given SV to an unsigned integer and returns it.
 
        UV      SvUV(SV* sv)
 
 =item SvUVX
 
-Returns the unsigned integer which is stored in the SV.
+Returns the unsigned integer which is stored in the SV, assuming SvIOK is true.
 
        UV      SvUVX(SV* sv)