earthRadius top-level constant

double const earthRadius

Implementation

const earthRadius = 6378.137;