chore: add comments about pretty printing

This commit is contained in:
aclist 2025-10-31 10:01:46 +09:00
parent e73617c2f4
commit 21d4601e41

View File

@ -7,7 +7,8 @@
#include <stdlib.h>
#include <stdio.h>
// Earths radius in meters
// Earth's radius in meters. To pretty-print the result for the end-user, it is
// recommended to divide the result by 1,000 and round it.
#define RADIUS ((12756L / 2.0L) * 1000L)
// PI natural constant