Enable tests and expose
This commit is contained in:
parent
f12ba75f67
commit
440e835967
3 changed files with 3 additions and 4 deletions
|
|
@ -343,7 +343,6 @@ pub trait F64Ext: private::Sealed + Sized {
|
|||
// NOTE depends on unstable intrinsics::powif64
|
||||
// fn powi(self, n: i32) -> Self;
|
||||
|
||||
#[cfg(todo)]
|
||||
fn powf(self, n: Self) -> Self;
|
||||
|
||||
fn sqrt(self) -> Self;
|
||||
|
|
@ -463,7 +462,6 @@ impl F64Ext for f64 {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(todo)]
|
||||
#[inline]
|
||||
fn powf(self, n: Self) -> Self {
|
||||
pow(self, n)
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ mod log2;
|
|||
mod log2f;
|
||||
mod logf;
|
||||
mod powf;
|
||||
mod pow;
|
||||
mod round;
|
||||
mod roundf;
|
||||
mod scalbn;
|
||||
|
|
@ -111,6 +112,7 @@ pub use self::log2::log2;
|
|||
pub use self::log2f::log2f;
|
||||
pub use self::logf::logf;
|
||||
pub use self::powf::powf;
|
||||
pub use self::pow::pow;
|
||||
pub use self::round::round;
|
||||
pub use self::roundf::roundf;
|
||||
pub use self::scalbn::scalbn;
|
||||
|
|
@ -167,7 +169,6 @@ fn get_low_word(x: f64) -> u32 {
|
|||
x.to_bits() as u32
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[inline]
|
||||
fn with_set_high_word(f: f64, hi: u32) -> f64 {
|
||||
let mut tmp = f.to_bits();
|
||||
|
|
|
|||
|
|
@ -774,7 +774,7 @@ f64f64_f64! {
|
|||
fdim,
|
||||
fmod,
|
||||
hypot,
|
||||
// pow,
|
||||
pow,
|
||||
}
|
||||
|
||||
// With signature `fn(f64, f64, f64) -> f64`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue