Skip to content

Commit 1ccab13

Browse files
committed
Swaped (fixed) values of LN_KIB & LN_KB
1 parent 04c4c29 commit 1ccab13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ pub const PIB: u64 = 1_125_899_906_842_624;
6969

7070
static UNITS: &str = "KMGTPE";
7171
static UNITS_SI: &str = "kMGTPE";
72-
static LN_KB: f64 = 6.931471806; // ln 1024
73-
static LN_KIB: f64 = 6.907755279; // ln 1000
72+
static LN_KIB: f64 = 6.931471806; // ln 1024
73+
static LN_KB: f64 = 6.907755279; // ln 1000
7474

7575
pub fn kb<V: Into<u64>>(size: V) -> u64 {
7676
size.into() * KB

0 commit comments

Comments
 (0)