summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-02 11:16:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-02 11:16:12 +0000
commit07158430424a11cb0012fe315b790bd28b8a7cf3 (patch)
treea2a8c8585cc9390f6f85c66eeb8b2253f18f64d6 /pod/perlfunc.pod
parent0f4b663008b5032408c35f3557d9d5c2790d3fcb (diff)
downloadperl-07158430424a11cb0012fe315b790bd28b8a7cf3.tar.gz
Document quad printing.
p4raw-id: //depot/cfgperl@3881
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod37
1 files changed, 37 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 13ada36574..253466529d 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -4114,6 +4114,43 @@ If C<use locale> is in effect, the character used for the decimal
point in formatted real numbers is affected by the LC_NUMERIC locale.
See L<perllocale>.
+If Perl understands "quads" (64-bit integers) (this requires
+either that the platform natively supports quads or that Perl
+has been specifically compiled to support quads), the flags
+
+ d u o x X b i D U O
+
+print quads, and they may optionally be preceded by
+
+ ll L q
+
+For example
+
+ %lld %16LX %qo
+
+You can find out whether your Perl supports long doubles via L<Config>:
+
+ use Config;
+ $Config{use64bits} and print "quads\n";
+
+If Perl understands "long doubles" (this requires that the platform
+supports long doubles), the flags
+
+ e f g E F G
+
+may optionally be preceded by
+
+ ll L
+
+For example
+
+ %llf %Lg
+
+You can find out whether your Perl supports long doubles via L<Config>:
+
+ use Config;
+ $Config{d_longdbl} and print "long doubles\n";
+
=item sqrt EXPR
=item sqrt