File: math_complex_doc_angle_units.diff

package info (click to toggle)
perl 5.42.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 128,392 kB
  • sloc: perl: 534,963; ansic: 240,563; sh: 72,042; pascal: 6,934; xml: 2,428; yacc: 1,360; makefile: 1,197; cpp: 208; lisp: 1
file content (26 lines) | stat: -rw-r--r-- 941 bytes parent folder | download
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
---
 dist/Math-Complex/lib/Math/Trig.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dist/Math-Complex/lib/Math/Trig.pm b/dist/Math-Complex/lib/Math/Trig.pm
index b38dc95..5877d6b 100644
--- a/dist/Math-Complex/lib/Math/Trig.pm
+++ b/dist/Math-Complex/lib/Math/Trig.pm
@@ -271,6 +271,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