### ----------------------------------------------------
### -- 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: tt/05-to.t
### ----------------------------------------------------
### -- Chunk 2 of 4
( $r, 9907434.68060135 );
delta_within( $a, 270, 0.0001 );

( $r, $a ) = $e->to(0.000000, 179.000000,0.000000, 179.000000);
delta_within( $r, 0, 0.1 );

( $r, $a ) = $e->to(0.000000, 179.000000,0.000000, 268.000000);
delta_ok( $r, 9907434.68060135 );
delta_within( $a, 90, 0.0001 );

( $r, $a ) = $e->to(0.000000, 179.000000,88.000000, 1.000000);
delta_ok( $r, 10225216.6599337 );
delta_within( $a, 359.929950967799, 0.0001 );

( $r, $a ) = $e->to(0.000000, 179.000000,88.000000, 90.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 357.99357628514, 0.0001 );

( $r, $a ) = $e->to(0.000000, 179.000000,88.000000, 179.000000);
delta_ok( $r, 9778578.68718058 );
delta_within( $a, 0, 0.0001 );

( $r, $a ) = $e->to(0.000000, 179.000000,88.000000, 268.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 2.00642371485969, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,-88.000000, 1.000000);
delta_ok( $r, 10013675.0566307 );
delta_within( $a, 177.996044578105, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,-88.000000, 90.000000);
delta_ok( $r, 10225216.6599337 );
delta_within( $a, 180.070049032201, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,-88.000000, 179.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 182.00642371486, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,-88.000000, 268.000000);
delta_ok( $r, 9778578.68718058 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,0.000000, 1.000000);
delta_ok( $r, 10352712.6437744 );
delta_within( $a, 90, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,0.000000, 90.000000);
delta_ok( $r, 19814869.3612027 );
delta_within( $a, 270, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,0.000000, 179.000000);
delta_ok( $r, 9907434.68060135 );
delta_within( $a, 270, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,0.000000, 268.000000);
delta_within( $r, 0, 0.1 );

( $r, $a ) = $e->to(0.000000, 268.000000,88.000000, 1.000000);
delta_ok( $r, 10013675.0566307 );
delta_within( $a, 2.00395542189512, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,88.000000, 90.000000);
delta_ok( $r, 10225216.6599337 );
delta_within( $a, 359.929950967799, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,88.000000, 179.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 357.99357628514, 0.0001 );

( $r, $a ) = $e->to(0.000000, 268.000000,88.000000, 268.000000);
delta_ok( $r, 9778578.68718058 );
delta_within( $a, 0, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,-88.000000, 1.000000);
delta_ok( $r, 19557157.3743612 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,-88.000000, 90.000000);
delta_ok( $r, 19685321.6740635 );
delta_within( $a, 135.475142548896, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,-88.000000, 179.000000);
delta_ok( $r, 19996176.9000454 );
delta_within( $a, 90.9888413924734, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,-88.000000, 268.000000);
delta_ok( $r, 19696447.0104273 );
delta_within( $a, 226.525093703136, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,0.000000, 1.000000);
delta_ok( $r, 9778578.68718058 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,0.000000, 90.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 90.988841392441, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,0.000000, 179.000000);
delta_ok( $r, 10225216.6599337 );
delta_within( $a, 2.00084925741569, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,0.000000, 268.000000);
delta_ok( $r, 10013675.0566307 );
delta_within( $a, 273.008712433203, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,88.000000, 1.000000);
delta_within( $r, 0, 0.1 );

( $r, $a ) = $e->to(88.000000, 1.000000,88.000000, 90.000000);
delta_ok( $r, 313115.736403702 );
delta_within( $a, 45.5174540384878, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,88.000000, 179.000000);
delta_ok( $r, 446706.010760529 );
delta_within( $a, 1.00060941707181, 0.0001 );

( $r, $a ) = $e->to(88.000000, 1.000000,88.000000, 268.000000);
delta_ok( $r, 324047.278966282 );
delta_within( $a, 316.482566859219, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,-88.000000, 1.000000);
delta_ok( $r, 19685321.6740635 );
delta_within( $a, 224.524857451104, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,-88.000000, 90.000000);
delta_ok( $r, 19557157.3743612 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,-88.000000, 179.000000);
delta_ok( $r, 19685321.6740635 );
delta_within( $a, 135.475142548896, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,-88.000000, 268.000000);
delta_ok( $r, 19996176.9000454 );
delta_within( $a, 90.9888413924734, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,0.000000, 1.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 269.011158607559, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,0.000000, 90.000000);
delta_ok( $r, 9778578.68718058 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,0.000000, 179.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 90.988841392441, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,0.000000, 268.000000);
delta_ok( $r, 10225216.6599337 );
delta_within( $a, 2.00084925741569, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,88.000000, 1.000000);
delta_ok( $r, 313115.736403702 );
delta_within( $a, 314.482545961512, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,88.000000, 90.000000);
delta_within( $r, 0, 0.1 );

( $r, $a ) = $e->to(88.000000, 90.000000,88.000000, 179.000000);
delta_ok( $r, 313115.736403702 );
delta_within( $a, 45.5174540384878, 0.0001 );

( $r, $a ) = $e->to(88.000000, 90.000000,88.000000, 268.000000);
delta_ok( $r, 446706.010760529 );
delta_within( $a, 1.00060941707181, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,-88.000000, 1.000000);
delta_ok( $r, 19996176.9000454 );
delta_within( $a, 269.011158607527, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,-88.000000, 90.000000);
delta_ok( $r, 19685321.6740635 );
delta_within( $a, 224.524857451104, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,-88.000000, 179.000000);
delta_ok( $r, 19557157.3743612 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,-88.000000, 268.000000);
delta_ok( $r, 19685321.6740635 );
delta_within( $a, 135.475142548896, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,0.000000, 1.000000);
delta_ok( $r, 10225216.6599337 );
delta_within( $a, 357.999150742584, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,0.000000, 90.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 269.011158607559, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,0.000000, 179.000000);
delta_ok( $r, 9778578.68718058 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,0.000000, 268.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 90.988841392441, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,88.000000, 1.000000);
delta_ok( $r, 446706.010760529 );
delta_within( $a, 358.999390582928, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,88.000000, 90.000000);
delta_ok( $r, 313115.736403702 );
delta_within( $a, 314.482545961512, 0.0001 );

( $r, $a ) = $e->to(88.000000, 179.000000,88.000000, 179.000000);
delta_within( $r, 0, 0.1 );

( $r, $a ) = $e->to(88.000000, 179.000000,88.000000, 268.000000);
delta_ok( $r, 313115.736403702 );
delta_within( $a, 45.5174540384878, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,-88.000000, 1.000000);
delta_ok( $r, 19696447.0104273 );
delta_within( $a, 133.474906296864, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,-88.000000, 90.000000);
delta_ok( $r, 19996176.9000454 );
delta_within( $a, 269.011158607527, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,-88.000000, 179.000000);
delta_ok( $r, 19685321.6740635 );
delta_within( $a, 224.524857451104, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,-88.000000, 268.000000);
delta_ok( $r, 19557157.3743612 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,0.000000, 1.000000);
delta_ok( $r, 10013675.0566307 );
delta_within( $a, 86.9912875667967, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,0.000000, 90.000000);
delta_ok( $r, 10225216.6599337 );
delta_within( $a, 357.999150742584, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,0.000000, 179.000000);
delta_ok( $r, 9998088.45002268 );
delta_within( $a, 269.011158607559, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,0.000000, 268.000000);
delta_ok( $r, 9778578.68718058 );
delta_within( $a, 180, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,88.000000, 1.000000);
delta_ok( $r, 324047.278966282 );
delta_within( $a, 43.5174331407808, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,88.000000, 90.000000);
delta_ok( $r, 446706.010760529 );
delta_within( $a, 358.999390582928, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,88.000000, 179.000000);
delta_ok( $r, 313115.736403702 );
delta_within( $a, 314.482545961512, 0.0001 );

( $r, $a ) = $e->to(88.000000, 268.000000,88.000000, 268.000000);
delta_within( $r, 0, 0.1 );

( $r, $a ) = $e->to(-57.934266, 269.464909,-71.038589, 313.367482);
delta_ok( $r, 2478983.26981422 );
delta_within( $a, 143.395603607968, 0.0001 );

( $r, $a ) = $e->to(13.605417, 282.316135,33.826171, 132.755857);
delta_ok( $r, 13850451.7048934 );
delta_within( $a, 329.412475743044, 0.0001 );

( $r, $a ) = $e->to(65.807118, 267.744045,-9.495920, 127.342153);
delta_ok( $r, 13064794.3870629 );
delta_within( $a, 314.966396589062, 0.0001 );

( $r, $a ) = $e->to(40.923455, 94.159476,-18.604296, 279.644382);
delta_ok( $r, 17475952.9859877 );
delta_within( $a, 346.682016294252, 0.0001 );

( $r, $a ) = $e->to(60.726184, 207.132176,37.934793, 29.881529);
delta_ok( $r, 9065819.55603936 );
delta_within( $a, 357.809015839191, 0.0001 );

( $r, $a ) = $e->to(-7.774777, 40.360959,7.960132, 140.647165);
delta_ok( $r, 11262132.6431769 );
delta_within( $a, 83.4278273130909, 0.0001 );

( $r, $a ) = $e->to(12.071034, 344.345789,64.718561, 58.748224);
delta_ok( $r, 8059002.00518262 );
delta_within( $a, 25.6350676733314, 0.0001 );

( $r, $a ) = $e->to(-39.510429, 94.209272,74.640675, 156.932149);
delta_ok( $r, 13463843.6928142 );
delta_within( $a, 16.0430701128036, 0.0001 );

( $r, $a ) = $e->to(50.945112, 46.686892,-73.531799, 338.631126);
delta_ok( $r, 14726732.6094757 );
delta_within( $a, 201.007479159506, 0.0001 );

( $r, $a ) = $e->to(-83.498813, 56.207513,-20.735893, 55.705212);
delta_ok( $r, 6982046.80533501 );
delta_within( $a, 359.4713992725, 0.0001 );

( $r, $a ) = $e->to(5.162682, 314.911760,-12.212387, 95.006241);
delta_ok( $r, 1558030