mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 15:12:48 +01:00
chore: add comments about pretty printing
This commit is contained in:
1 parent
e73617c2f4
commit
21d4601e41
1 file changed
+2
-1
@@ -7,7 +7,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.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)
|
#define RADIUS ((12756L / 2.0L) * 1000L)
|
||||||
|
|
||||||
// PI natural constant
|
// PI natural constant
|
||||||
|
|||||||
Reference in new issue
Block a user