summaryrefslogtreecommitdiff
path: root/debian/patches/fixes/math_complex_doc_angle_units.diff
blob: 215c24018fd13addd229c7adc66b7ad270b5ad5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Dominic Hargreaves <dom@earth.li>
Date: Sat, 30 Apr 2016 22:56:56 +0100
Subject: Math::Trig: document angle units

Bug: https://rt.cpan.org/Ticket/Display.html?id=114106
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731505
---
 cpan/Math-Complex/lib/Math/Trig.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cpan/Math-Complex/lib/Math/Trig.pm b/cpan/Math-Complex/lib/Math/Trig.pm
index acad31f..bc7ac78 100644
--- a/cpan/Math-Complex/lib/Math/Trig.pm
+++ b/cpan/Math-Complex/lib/Math/Trig.pm
@@ -263,6 +263,11 @@ core Perl which defines only the C<sin()> and C<cos()>.  The constant
 B<pi> is also defined as are a few convenience functions for angle
 conversions, and I<great circle formulas> for spherical movement.
 
+=head1 ANGLES
+
+All angles are defined in radians, except where otherwise specified
+(for example in the deg/rad conversion functions).
+
 =head1 TRIGONOMETRIC FUNCTIONS
 
 The tangent