Skip to content

Commit

Permalink
Add patch for dragonbox float with f16's trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexhuszagh committed Dec 8, 2024
1 parent 7b95407 commit 9b26c69
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lexical-write-float/src/algorithm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ macro_rules! dragonbox_unimpl {
}

#[inline(always)]
fn compute_round_up(_: &Self::Power, _: i32) -> (u64, bool) {
fn compute_round_up(_: &Self::Power, _: i32) -> u64 {
unimplemented!()
}

Expand Down Expand Up @@ -1539,6 +1539,11 @@ macro_rules! dragonbox_unimpl {
fn div_pow10(_: u32) -> u32 {
unimplemented!()
}

#[inline(always)]
fn divide_by_pow10(_: u64, _: u32, _: u64) -> u64 {
unimplemented!()
}
}
)*);
}
Expand Down

0 comments on commit 9b26c69

Please sign in to comment.