mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-13 14:52:21 +01:00
Merge pull request #3661 from TheBlueMatt/2025-03-right-libm
Use proper libm power method for `f64`s
This commit is contained in:
commit
f10b8542a8
1 changed files with 1 additions and 1 deletions
|
@ -1817,7 +1817,7 @@ fn powf64(n: f64, exp: f64) -> f64 {
|
|||
}
|
||||
#[cfg(not(feature = "std"))]
|
||||
fn powf64(n: f64, exp: f64) -> f64 {
|
||||
libm::powf(n as f32, exp as f32) as f64
|
||||
libm::pow(n, exp)
|
||||
}
|
||||
|
||||
mod bucketed_history {
|
||||
|
|
Loading…
Add table
Reference in a new issue