Skip to content

Commit 1274978

Browse files
gaventojohanneskoester
authored andcommitted
Replace f32::from_bits (new conflicting impl) with Ieee754::from_bits (#42)
1 parent 3872f2e commit 1274978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bcf/record.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ use htslib;
1818
const MISSING_INTEGER: i32 = i32::MIN;
1919
const VECTOR_END_INTEGER: i32 = i32::MIN + 1;
2020
lazy_static!{
21-
static ref MISSING_FLOAT: f32 = f32::from_bits(0x7F800001);
22-
static ref VECTOR_END_FLOAT: f32 = f32::from_bits(0x7F800002);
21+
static ref MISSING_FLOAT: f32 = Ieee754::from_bits(0x7F800001);
22+
static ref VECTOR_END_FLOAT: f32 = Ieee754::from_bits(0x7F800002);
2323
}
2424

2525

0 commit comments

Comments
 (0)