diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl/fixes/math_complex_doc_angle_units.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl/fixes/math_complex_doc_angle_units.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_angle_units.diff b/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_angle_units.diff new file mode 100644 index 0000000000..d21b021a49 --- /dev/null +++ b/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_angle_units.diff @@ -0,0 +1,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 |