aboutsummaryrefslogtreecommitdiffstats
path: root/unit.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-03-02 12:18:34 -0500
committerSam Anthony <sam@samanthony.xyz>2025-03-02 12:18:34 -0500
commitcd73fd40ffc04a65abe0260fe82949d7c354e282 (patch)
tree5162949c3f3e65508072eacb52f3b1c562958607 /unit.h
parent5e379b1cf70006dbe782df991a655c475630a146 (diff)
downloadvolute-cd73fd40ffc04a65abe0260fe82949d7c354e282.zip
add inHG pressure unit
Diffstat (limited to 'unit.h')
-rw-r--r--unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unit.h b/unit.h
index 4e22a35..520285b 100644
--- a/unit.h
+++ b/unit.h
@@ -27,11 +27,13 @@ Pressure millibar(double x);
Pressure kilopascal(double x);
Pressure bar(double x);
Pressure psi(double x);
+Pressure inch_mercury(double x);
double as_pascal(Pressure x);
double as_millibar(Pressure x);
double as_kilopascal(Pressure x);
double as_bar(Pressure x);
double as_psi(Pressure x);
+double as_inch_mercury(Pressure x);
typedef double Temperature;