]> git.bitcoin.ninja Git - rust-lightning/commit
Depend on `libm` in `no-std` for `powf`(64)
authorMatt Corallo <git@bluematt.me>
Wed, 1 Nov 2023 01:16:12 +0000 (01:16 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 18:36:40 +0000 (18:36 +0000)
commit6471eb050e5c2129953b09e58179d6c79b8d7455
treef0e68f2d187fe91e8797a4cfe560807f00328fa0
parent9856fb67106316ca66ef278cdc0cac9a52fad763
Depend on `libm` in `no-std` for `powf`(64)

In the next commits we'll need `f64`'s `powf`, which is only
available in `std`. For `no-std`, here we depend on `libm` (a
`rust-lang` org project), which we can use for `powf`.
lightning/Cargo.toml
lightning/src/lib.rs
lightning/src/routing/scoring.rs