Angle difference between two bearings: Difference between revisions
Content deleted Content added
m →{{header|REXX}}: used more centering for a better display, used a template for the output section. |
→{{header|J}}: J uses the mathematical mod, so fancy positivity manipulations are unnecessary. |
||
Line 553:
=={{header|J}}==
<lang j>relativeBearing=:
<lang j>tests=: _99&".;._2 noun define
20 45
Line 568:
60175.77306795546 42213.07192354373
)
tests ,. relativeBearing
20 45 25
_45 45 90
|