summaryrefslogtreecommitdiffstats
path: root/core/units.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-01-30 21:17:47 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commita12adf8e2a5a9fc2471874e69d31ce50bbaf4cb8 (patch)
tree14c6e917c4cb89e70d3986739f31590930aa7659 /core/units.h
parent42cfd3f9638a5f9d37e51285e6d1eaaad3e78501 (diff)
downloadsubsurface-a12adf8e2a5a9fc2471874e69d31ce50bbaf4cb8.tar.gz
Pedantic: K are an absolute scale, which are not given in degrees
Since somewhere in the 1960s. "Fix" a few comments. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/units.h')
-rw-r--r--core/units.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/units.h b/core/units.h
index 0e2c2b2e3..60475b75c 100644
--- a/core/units.h
+++ b/core/units.h
@@ -106,12 +106,12 @@ typedef struct
typedef struct
{
- uint32_t mkelvin; // up to 4 MdegK (temperatures in K are always positive)
+ uint32_t mkelvin; // up to 4 MK (temperatures in K are always positive)
} temperature_t;
typedef struct
{
- uint64_t mkelvin; // up to 18446744073 MdegK (temperatures in K are always positive)
+ uint64_t mkelvin; // up to 18446744073 MK (temperatures in K are always positive)
} temperature_sum_t;
typedef struct