Skip to content

Commit

Permalink
Add inch_of_mercury (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdoda authored Dec 17, 2024
1 parent a01439a commit d547f37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/units.h
Original file line number Diff line number Diff line change
Expand Up @@ -3732,6 +3732,7 @@ namespace units
UNIT_ADD(pressure, atmosphere, atmospheres, atm, unit<std::ratio<101325>, pascals>)
UNIT_ADD(pressure, pounds_per_square_inch, pounds_per_square_inch, psi, compound_unit<force::pounds, inverse<squared<length::inch>>>)
UNIT_ADD(pressure, torr, torrs, torr, unit<std::ratio<1, 760>, atmospheres>)
UNIT_ADD(pressure, inch_of_mercury, inches_of_mercury, inHg, unit<std::ratio<338639, 100>, pascals>)

UNIT_ADD_CATEGORY_TRAIT(pressure)
#endif
Expand Down

0 comments on commit d547f37

Please sign in to comment.