Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions units-defs/Data/Constants/Mechanics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import Data.Metrology.TH
-- | Acceleration at Earth's surface due to gravity.
declareConstant "gravity_g" 9.80665 [t| Meter :/ Second :^ Two |]

-- | Gravitational constant (value recommended by CODATA, see the
-- <http://arxiv.org/abs/1507.07956 arXiv> paper)
declareConstant "gravity_G" 6.6740831e-11
-- | Gravitational constant, taken from the
-- <https://pml.nist.gov/cuu/Constants/Table/allascii.txt NIST table>.
declareConstant "gravity_G" 6.67430e-11
[t| (Meter :^ Three) :* ((Kilo :@ Gram) :^ MOne) :* (Second :^ MTwo) |]
-- Thanks to @hesiod, PR #13
Loading