earth: record more digits
Add tests for earth.  They pass with SAS 9.4, earth 3.2-7, and R 3.1.2