Commit 030a235
committed
Use proper libm power method for
For some reason when attempting to raise floats to powers in
scoring we'd converted our `f64`s to `f32`s, called `libm::powf`
(on no-std targets), then converted the result back to an `f64`.
`libm::pow`, however, exists and raises `f64`s to a power natively.
Here we correct this, using the proper `f64`-native `pow`.
While I doubt its related, I went to look if we have any conversion
in LDK itself in response to
lightningdevkit/ldk-node#483 (where
Android binaries failed to load due to a missing `__extenddftf2`.f64s1 parent 0e1bbc4 commit 030a235
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1817 | 1817 | | |
1818 | 1818 | | |
1819 | 1819 | | |
1820 | | - | |
| 1820 | + | |
1821 | 1821 | | |
1822 | 1822 | | |
1823 | 1823 | | |
| |||
0 commit comments