File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
use super :: measurement:: * ;
4
4
5
- /// Number of POUNDS in a Newton
5
+ /// Number of POUNDS force in a Newton
6
6
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.
8
9
pub const POUNDALS_PER_NEWTON : f64 = 7.2330 ;
9
10
/// 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 ;
11
12
/// Number of DYNES in a Newton
12
13
pub const DYNES_PER_NEWTON : f64 = 1e5 ;
13
14
Original file line number Diff line number Diff line change 1
1
//! Utility code for test_utils
2
2
3
- const DEFAULT_DELTA : f64 = 1e-4 ;
3
+ const DEFAULT_DELTA : f64 = 1e-5 ;
4
4
5
5
/// Check two floating point values are approximately equal
6
6
pub fn almost_eq ( a : f64 , b : f64 ) -> bool {
You can’t perform that action at this time.
0 commit comments