mirror of
https://github.com/aclist/dztui.git
synced 2026-08-25 17:32:36 +02:00
chore: add comments about pretty printing
This commit is contained in:
parent
e73617c2f4
commit
21d4601e41
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user