Skip to content

Commit 0a281ad

Browse files
committed
Better definition of poundal.
1 parent f611645 commit 0a281ad

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/force.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
33
use super::measurement::*;
44

5-
/// Number of POUNDS in a Newton
5+
/// Number of POUNDS force in a Newton
66
pub const POUNDS_PER_NEWTON: f64 = 0.224809;
7-
/// Number of POUNDALS in a Newton
7+
/// Number of POUNDALS in a Newton. A poundal is the force necessary to
8+
/// accelerate 1 pound-mass at 1 foot per second per second.
89
pub const POUNDALS_PER_NEWTON: f64 = 7.2330;
910
/// Number of KILOPONDS in a Newton
10-
pub const KILOPONDS_PER_NEWTON: f64 = 0.10197;
11+
pub const KILOPONDS_PER_NEWTON: f64 = 1.0 / 9.80665;
1112
/// Number of DYNES in a Newton
1213
pub const DYNES_PER_NEWTON: f64 = 1e5;
1314

src/test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Utility code for test_utils
22
3-
const DEFAULT_DELTA: f64 = 1e-4;
3+
const DEFAULT_DELTA: f64 = 1e-5;
44

55
/// Check two floating point values are approximately equal
66
pub fn almost_eq(a: f64, b: f64) -> bool {

0 commit comments

Comments
 (0)