summaryrefslogtreecommitdiff
path: root/lib/Math/Trig.pm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-04 04:27:51 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-04 04:27:51 +0000
commit3cb6de8118f279c0dca172ac40ef21e89cf524b7 (patch)
treeceb152b91deb401b084cf01870d011c2ece3e17a /lib/Math/Trig.pm
parenteaf840779373130f95f7bd459b3864c78c698e28 (diff)
downloadperl-3cb6de8118f279c0dca172ac40ef21e89cf524b7.tar.gz
more whitespace removal (from Michael G Schwern)
p4raw-id: //depot/perl@5507
Diffstat (limited to 'lib/Math/Trig.pm')
-rw-r--r--lib/Math/Trig.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Math/Trig.pm b/lib/Math/Trig.pm
index 68dcb94822..492706cd6a 100644
--- a/lib/Math/Trig.pm
+++ b/lib/Math/Trig.pm
@@ -132,11 +132,11 @@ Math::Trig - trigonometric functions
=head1 SYNOPSIS
use Math::Trig;
-
+
$x = tan(0.9);
$y = acos(3.7);
$z = asin(2.4);
-
+
$halfpi = pi/2;
$rad = deg2rad(120);
@@ -258,7 +258,7 @@ complex numbers as results because the C<Math::Complex> takes care of
details like for example how to display complex numbers. For example:
print asin(2), "\n";
-
+
should produce something like this (take or leave few last decimals):
1.5707963267949-1.31695789692482i
@@ -272,10 +272,10 @@ and the imaginary part of approximately C<-1.317>.
$radians = deg2rad($degrees);
$radians = grad2rad($gradians);
-
+
$degrees = rad2deg($radians);
$degrees = grad2deg($gradians);
-
+
$gradians = deg2grad($degrees);
$gradians = rad2grad($radians);