aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_angle_units.diff
blob: d21b021a49a94f5fc07f7554256c662804d26a4e (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
27
28
29
From c81abec8af46d3afb3f91700c4733d18d80cff5d Mon Sep 17 00:00:00 2001
From: Dominic Hargreaves <dom@earth.li>
Date: Sat, 30 Apr 2016 22:56:56 +0100
Subject: [PATCH] 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
Patch-Name: fixes/math_complex_doc_angle_units.diff

---
 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 1d9612a..728da3e 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