use 5.005;
use strict;
-use Math::Complex 1.36;
+use Math::Complex 1.37;
use Math::Complex qw(:trig :pi);
use vars qw($VERSION $PACKAGE @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
@ISA = qw(Exporter);
-$VERSION = 1.04;
+$VERSION = 1.05;
my @angcnv = qw(rad2deg rad2grad
deg2rad deg2grad
my @M = great_circle_midpoint(@L, @T);
-or about 89.16N 68.93E, practically at the North Pole.
+or about 68.93N 89.16E, in the frozen wastes of Siberia.
=head2 CAVEAT FOR GREAT CIRCLE FORMULAS
plan(tests => 69);
-use Math::Trig 1.03;
+use Math::Trig 1.05;
my $pip2 = pi / 2;
ok(near(great_circle_distance(0, 0, pi, pi), pi));
# London to Tokyo.
- my @L = (deg2rad(-0.5), deg2rad(90 - 51.3));
- my @T = (deg2rad(139.8),deg2rad(90 - 35.7));
+ my @L = (deg2rad(-0.5), deg2rad(90 - 51.3));
+ my @T = (deg2rad(139.8), deg2rad(90 - 35.7));
my $km = great_circle_distance(@L, @T, 6378);