Skip to content

Commit df363ff

Browse files
2.1.5 Updated utility for extreme precision
1 parent 1035431 commit df363ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utility/mapcode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,10 @@ static void generateAndOutputMapcodes(double lat, double lon, int iShowError, in
317317
double y;
318318
double z;
319319
convertLatLonToXYZ(lat, lon, &x, &y, &z);
320-
printf("%d %.12g %.12g %.12g %.12g %.12g\n", nrResults, lat, lon, x, y, z);
320+
printf("%d %.14g %.14g %.12g %.12g %.12g\n", nrResults, lat, lon, x, y, z);
321321
}
322322
else {
323-
printf("%d %.12g %.12g\n", nrResults, lat, lon);
323+
printf("%d %.14g %.14g\n", nrResults, lat, lon);
324324
}
325325
for (int j = 0; j < nrResults; ++j) {
326326
const char *foundMapcode = results[(j * 2)];

0 commit comments

Comments
 (0)