summaryrefslogtreecommitdiff
path: root/dist/Math-Complex
diff options
context:
space:
mode:
authorPeter John Acklam <pjacklam@gmail.com>2022-09-01 21:09:59 +0200
committerJames E Keenan <jkeenan@cpan.org>2022-10-01 14:26:55 +0000
commit713a374cd6422e3322498ce2cc3a9da4e436082b (patch)
tree3fe261db515be595b831a4c9f76f40253dd5eac5 /dist/Math-Complex
parentf1fd52442f2019c722c543535a59f8dd453b8fad (diff)
downloadperl-713a374cd6422e3322498ce2cc3a9da4e436082b.tar.gz
Math-Complex: update URLs
Update the URLs with formulas for computing distance, bearing, waypoints, destination etc. on a sphere. This fixes CPAN RT #144195
Diffstat (limited to 'dist/Math-Complex')
-rw-r--r--dist/Math-Complex/lib/Math/Trig.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/dist/Math-Complex/lib/Math/Trig.pm b/dist/Math-Complex/lib/Math/Trig.pm
index 3faa71d912..9e1768d19e 100644
--- a/dist/Math-Complex/lib/Math/Trig.pm
+++ b/dist/Math-Complex/lib/Math/Trig.pm
@@ -15,7 +15,7 @@ require Exporter;
our @ISA = qw(Exporter);
-our $VERSION = 1.23;
+our $VERSION = 1.23_01;
my @angcnv = qw(rad2deg rad2grad
deg2rad deg2grad
@@ -47,8 +47,9 @@ my @pi = qw(pi pi2 pi4 pip2 pip4);
our @EXPORT_OK = (@rdlcnv, @greatcircle, @pi, 'Inf');
# See e.g. the following pages:
-# http://www.movable-type.co.uk/scripts/LatLong.html
-# http://williams.best.vwh.net/avform.htm
+# https://www.movable-type.co.uk/scripts/latlong.html
+# https://edwilliams.org/avform.htm
+# https://en.wikipedia.org/wiki/Great-circle_distance
our %EXPORT_TAGS = ('radial' => [ @rdlcnv ],
'great_circle' => [ @greatcircle ],