### ----------------------------------------------------
### -- Geo::Ellipsoid
### -- Licenses: Artistic-2.0
### -- Authors: Tom Browder <tbrowder@acm.org> (translator Perl 5 to Raku, current maintainer), Jim Gibson (CPAN Perl 5 author, v1.12)
### -- File: t/08-range.t
### ----------------------------------------------------
### -- Chunk 17 of 17
-tol<1.0>); #delta_within($r5, 5618.07453401607, 1.0);

$r1 = $e_meter.range(-64.390959,100.137796,-73.699237,76.773535);
$r2 = $e_kilo.range(-64.390959,100.137796,-73.699237,76.773535);
$r3 = $e_mile.range(-64.390959,100.137796,-73.699237,76.773535);
$r4 = $e_foot.range(-64.390959,100.137796,-73.699237,76.773535);
$r5 = $e_nm.range(-64.390959,100.137796,-73.699237,76.773535);
is-approx($r1, 1377371.39603648, :abs-tol<1.0>); #delta_within($r1, 1377371.39603648, 1.0);
is-approx($r2, 1377.37139603649, :abs-tol<1.0>); #delta_within($r2, 1377.37139603649, 1.0);
is-approx($r3, 855.858906508792, :abs-tol<1.0>); #delta_within($r3, 855.858906508792, 1.0);
is-approx($r4, 4518935.02636642, :abs-tol<1.0>); #delta_within($r4, 4518935.02636642, 1.0);
is-approx($r5, 743.721056175208, :abs-tol<1.0>); #delta_within($r5, 743.721056175208, 1.0);

$r1 = $e_meter.range(-53.488147,222.676284,18.783198,197.750208);
$r2 = $e_kilo.range(-53.488147,222.676284,18.783198,197.750208);
$r3 = $e_mile.range(-53.488147,222.676284,18.783198,197.750208);
$r4 = $e_foot.range(-53.488147,222.676284,18.783198,197.750208);
$r5 = $e_nm.range(-53.488147,222.676284,18.783198,197.750208);
is-approx($r1, 8357066.17548392, :abs-tol<1.0>); #delta_within($r1, 8357066.17548392, 1.0);
is-approx($r2, 8357.06617548392, :abs-tol<1.0>); #delta_within($r2, 8357.06617548392, 1.0);
is-approx($r3, 5192.84017306674, :abs-tol<1.0>); #delta_within($r3, 5192.84017306674, 1.0);
is-approx($r4, 27418196.1137924, :abs-tol<1.0>); #delta_within($r4, 27418196.1137924, 1.0);
is-approx($r5, 4512.45473838225, :abs-tol<1.0>); #delta_within($r5, 4512.45473838225, 1.0);

$r1 = $e_meter.range(11.886353,45.880034,-75.325990,317.821511);
$r2 = $e_kilo.range(11.886353,45.880034,-75.325990,317.821511);
$r3 = $e_mile.range(11.886353,45.880034,-75.325990,317.821511);
$r4 = $e_foot.range(11.886353,45.880034,-75.325990,317.821511);
$r5 = $e_nm.range(11.886353,45.880034,-75.325990,317.821511);
is-approx($r1, 11219022.8120392, :abs-tol<1.0>); #delta_within($r1, 11219022.8120392, 1.0);
is-approx($r2, 11219.0228120392, :abs-tol<1.0>); #delta_within($r2, 11219.0228120392, 1.0);
is-approx($r3, 6971.17758045464, :abs-tol<1.0>); #delta_within($r3, 6971.17758045464, 1.0);
is-approx($r4, 36807817.6248005, :abs-tol<1.0>); #delta_within($r4, 36807817.6248005, 1.0);
is-approx($r5, 6057.78769548552, :abs-tol<1.0>); #delta_within($r5, 6057.78769548552, 1.0);

$r1 = $e_meter.range(-61.023376,203.548199,-32.274576,120.526333);
$r2 = $e_kilo.range(-61.023376,203.548199,-32.274576,120.526333);
$r3 = $e_mile.range(-61.023376,203.548199,-32.274576,120.526333);
$r4 = $e_foot.range(-61.023376,203.548199,-32.274576,120.526333);
$r5 = $e_nm.range(-61.023376,203.548199,-32.274576,120.526333);
is-approx($r1, 6560175.49592739, :abs-tol<1.0>); #delta_within($r1, 6560175.49592739, 1.0);
is-approx($r2, 6560.17549592739, :abs-tol<1.0>); #delta_within($r2, 6560.17549592739, 1.0);
is-approx($r3, 4076.30406919055, :abs-tol<1.0>); #delta_within($r3, 4076.30406919055, 1.0);
is-approx($r4, 21522885.4853261, :abs-tol<1.0>); #delta_within($r4, 21522885.4853261, 1.0);
is-approx($r5, 3542.21139088952, :abs-tol<1.0>); #delta_within($r5, 3542.21139088952, 1.0);

$r1 = $e_meter.range(-51.815775,243.103403,-81.006002,15.254084);
$r2 = $e_kilo.range(-51.815775,243.103403,-81.006002,15.254084);
$r3 = $e_mile.range(-51.815775,243.103403,-81.006002,15.254084);
$r4 = $e_foot.range(-51.815775,243.103403,-81.006002,15.254084);
$r5 = $e_nm.range(-51.815775,243.103403,-81.006002,15.254084);
is-approx($r1, 4980459.53607217, :abs-tol<1.0>); #delta_within($r1, 4980459.53607217, 1.0);
is-approx($r2, 4980.45953607217, :abs-tol<1.0>); #delta_within($r2, 4980.45953607217, 1.0);
is-approx($r3, 3094.71407981897, :abs-tol<1.0>); #delta_within($r3, 3094.71407981897, 1.0);
is-approx($r4, 16340090.3414441, :abs-tol<1.0>); #delta_within($r4, 16340090.3414441, 1.0);
is-approx($r5, 2689.23301083811, :abs-tol<1.0>); #delta_within($r5, 2689.23301083811, 1.0);

$r1 = $e_meter.range(55.609307,24.137667,36.573196,147.424699);
$r2 = $e_kilo.range(55.609307,24.137667,36.573196,147.424699);
$r3 = $e_mile.range(55.609307,24.137667,36.573196,147.424699);
$r4 = $e_foot.range(55.609307,24.137667,36.573196,147.424699);
$r5 = $e_nm.range(55.609307,24.137667,36.573196,147.424699);
is-approx($r1, 8467114.65823862, :abs-tol<1.0>); #delta_within($r1, 8467114.65823862, 1.0);
is-approx($r2, 8467.11465823862, :abs-tol<1.0>); #delta_within($r2, 8467.11465823862, 1.0);
is-approx($r3, 5261.22112999994, :abs-tol<1.0>); #delta_within($r3, 5261.22112999994, 1.0);
is-approx($r4, 27779247.5663997, :abs-tol<1.0>); #delta_within($r4, 27779247.5663997, 1.0);
is-approx($r5, 4571.87616535563, :abs-tol<1.0>); #delta_within($r5, 4571.87616535563, 1.0);

$r1 = $e_meter.range(68.261410,337.404883,-87.468266,126.278650);
$r2 = $e_kilo.range(68.261410,337.404883,-87.468266,126.278650);
$r3 = $e_mile.range(68.261410,337.404883,-87.468266,126.278650);
$r4 = $e_foot.range(68.261410,337.404883,-87.468266,126.278650);
$r5 = $e_nm.range(68.261410,337.404883,-87.468266,126.278650);
is-approx($r1, 17814444.0832232, :abs-tol<1.0>); #delta_within($r1, 17814444.0832232, 1.0);
is-approx($r2, 17814.4440832232, :abs-tol<1.0>); #delta_within($r2, 17814.4440832232, 1.0);
is-approx($r3, 11069.3823590377, :abs-tol<1.0>); #delta_within($r3, 11069.3823590377, 1.0);
is-approx($r4, 58446338.8557192, :abs-tol<1.0>); #delta_within($r4, 58446338.8557192, 1.0);
is-approx($r5, 9619.03028251793, :abs-tol<1.0>); #delta_within($r5, 9619.03028251793, 1.0);

$r1 = $e_meter.range(77.163243,355.929440,-24.865636,351.624329);
$r2 = $e_kilo.range(77.163243,355.929440,-24.865636,351.624329);
$r3 = $e_mile.range(77.163243,355.929440,-24.865636,351.624329);
$r4 = $e_foot.range(77.163243,355.929440,-24.865636,351.624329);
$r5 = $e_nm.range(77.163243,355.929440,-24.865636,351.624329);
is-approx($r1, 11323314.1064423, :abs-tol<1.0>); #delta_within($r1, 11323314.1064423, 1.0);
is-approx($r2, 11323.3141064423, :abs-tol<1.0>); #delta_within($r2, 11323.3141064423, 1.0);
is-approx($r3, 7035.98118639788, :abs-tol<1.0>); #delta_within($r3, 7035.98118639788, 1.0);
is-approx($r4, 37149980.6641808, :abs-tol<1.0>); #delta_within($r4, 37149980.6641808, 1.0);
is-approx($r5, 6114.10048943969, :abs-tol<1.0>); #delta_within($r5, 6114.10048943969, 1.0);

$r1 = $e_meter.range(-83.363412,123.109687,60.930467,157.757983);
$r2 = $e_kilo.range(-83.363412,123.109687,60.930467,157.757983);
$r3 = $e_mile.range(-83.363412,123.109687,60.930467,157.757983);
$r4 = $e_foot.range(-83.363412,123.109687,60.930467,157.757983);
$r5 = $e_nm.range(-83.363412,123.109687,60.930467,157.757983);
is-approx($r1, 16129090.5382028, :abs-tol<1.0>); #delta_within($r1, 16129090.5382028, 1.0);
is-approx($r2, 16129.0905382028, :abs-tol<1.0>); #delta_within($r2, 16129.0905382028, 1.0);
is-approx($r3, 10022.152217427, :abs-tol<1.0>); #delta_within($r3, 10022.152217427, 1.0);
is-approx($r4, 52916963.7080145, :abs-tol<1.0>); #delta_within($r4, 52916963.7080145, 1.0);
is-approx($r5, 8709.01216965595, :abs-tol<1.0>); #delta_within($r5, 8709.01216965595, 1.0);

$r1 = $e_meter.range(35.819668,205.275583,-69.790147,65.110415);
$r2 = $e_kilo.range(35.819668,205.275583,-69.790147,65.110415);
$r3 = $e_mile.range(35.819668,205.275583,-69.790147,65.110415);
$r4 = $e_foot.range(35.819668,205.275583,-69.790147,65.110415);
$r5 = $e_nm.range(35.819668,205.275583,-69.790147,65.110415);
is-approx($r1, 15535352.6980755, :abs-tol<1.0>); #delta_within($r1, 15535352.6980755, 1.0);
is-approx($r2, 15535.3526980755, :abs-tol<1.0>); #delta_within($r2, 15535.3526980755, 1.0);
is-approx($r3, 9653.22062783065, :abs-tol<1.0>); #delta_within($r3, 9653.22062783065, 1.0);
is-approx($r4, 50969004.9149458, :abs-tol<1.0>); #delta_within($r4, 50969004.9149458, 1.0);
is-approx($r5, 8388.41938341009, :abs-tol<1.0>); #delta_within($r5, 8388.41938341009, 1.0);

$r1 = $e_meter.range(-45.720757,245.961448,85.378805,184.898940);
$r2 = $e_kilo.range(-45.720757,245.961448,85.378805,184.898940);
$r3 = $e_mile.range(-45.720757,245.961448,85.378805,184.898940);
$r4 = $e_foot.range(-45.720757,245.961448,85.378805,184.898940);
$r5 = $e_nm.range(-45.720757,245.961448,85.378805,184.898940);
is-approx($r1, 14801887.1990009, :abs-tol<1.0>); #delta_within($r1, 14801887.1990009, 1.0);
is-approx($r2, 14801.8871990009, :abs-tol<1.0>); #delta_within($r2, 14801.8871990009, 1.0);
is-approx($r3, 9197.46629620569, :abs-tol<1.0>); #delta_within($r3, 9197.46629620569, 1.0);
is-approx($r4, 48562622.0439661, :abs-tol<1.0>); #delta_within($r4, 48562622.0439661, 1.0);
is-approx($r5, 7992.3796970847, :abs-tol<1.0>); #delta_within($r5, 7992.3796970847, 1.0);

$r1 = $e_meter.range(70.557651,168.120919,-4.512946,146.711647);
$r2 = $e_kilo.range(70.557651,168.120919,-4.512946,146.711647);
$r3 = $e_mile.range(70.557651,168.120919,-4.512946,146.711647);
$r4 = $e_foot.range(70.557651,168.120919,-4.512946,146.711647);
$r5 = $e_nm.range(70.557651,168.120919,-4.512946,146.711647);
is-approx($r1, 8481627.39707062, :abs-tol<1.0>); #delta_within($r1, 8481627.39707062, 1.0);
is-approx($r2, 8481.62739707062, :abs-tol<1.0>); #delta_within($r2, 8481.62739707062, 1.0);
is-approx($r3, 5270.23892783061, :abs-tol<1.0>); #delta_within($r3, 5270.23892783061, 1.0);
is-approx($r4, 27826861.5389456, :abs-tol<1.0>); #delta_within($r4, 27826861.5389456, 1.0);
is-approx($r5, 4579.71241742474, :abs-tol<1.0>); #delta_within($r5, 4579.71241742474, 1.0);

$r1 = $e_meter.range(45.494490,42.178744,-62.327500,251.688039);
$r2 = $e_kilo.range(45.494490,42.178744,-62.327500,251.688039);
$r3 = $e_mile.range(45.494490,42.178744,-62.327500,251.688039);
$r4 = $e_foot.range(45.494490,42.178744,-62.327500,251.688039);
$r5 = $e_nm.range(45.494490,42.178744,-62.327500,251.688039);
is-approx($r1, 17356605.1087735, :abs-tol<1.0>); #delta_within($r1, 17356605.1087735, 1.0);
is-approx($r2, 17356.6051087735, :abs-tol<1.0>); #delta_within($r2, 17356.6051087735, 1.0);
is-approx($r3, 10784.8944096312, :abs-tol<1.0>); #delta_within($r3, 10784.8944096312, 1.0);
is-approx($r4, 56944242.4828528, :abs-tol<1.0>); #delta_within($r4, 56944242.4828528, 1.0);
is-approx($r5, 9371.81701337664, :abs-tol<1.0>); #delta_within($r5, 9371.81701337664, 1.0);


