Haversine formula: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m sntax highlighting fixup automation |
→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)" |
||
Line 3,755:
The uncertainty is under 0.5%, or 1.9 m.</pre>Looking at the altitude difference between the last two airports, (299 - 96 = 203), the reported distance of 370 meters ought to be around 422 meters if you actually went there and saw it for yourself.
=={{header|V (Vlang)}}==
{{trans|go}}
<syntaxhighlight lang="v (vlang)">import math
fn haversine(h f64) f64 {
|