This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +412
-4
lines changed
Expand file tree Collapse file tree 4 files changed +412
-4
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,6 @@ pub trait F64Ext: private::Sealed + Sized {
343343 // NOTE depends on unstable intrinsics::powif64
344344 // fn powi(self, n: i32) -> Self;
345345
346- #[ cfg( todo) ]
347346 fn powf ( self , n : Self ) -> Self ;
348347
349348 fn sqrt ( self ) -> Self ;
@@ -463,7 +462,6 @@ impl F64Ext for f64 {
463462 }
464463 }
465464
466- #[ cfg( todo) ]
467465 #[ inline]
468466 fn powf ( self , n : Self ) -> Self {
469467 pow ( self , n)
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ mod log1pf;
4949mod log2;
5050mod log2f;
5151mod logf;
52+ mod pow;
5253mod powf;
5354mod round;
5455mod roundf;
@@ -110,6 +111,7 @@ pub use self::log1pf::log1pf;
110111pub use self :: log2:: log2;
111112pub use self :: log2f:: log2f;
112113pub use self :: logf:: logf;
114+ pub use self :: pow:: pow;
113115pub use self :: powf:: powf;
114116pub use self :: round:: round;
115117pub use self :: roundf:: roundf;
@@ -167,7 +169,6 @@ fn get_low_word(x: f64) -> u32 {
167169 x. to_bits ( ) as u32
168170}
169171
170- #[ allow( dead_code) ]
171172#[ inline]
172173fn with_set_high_word ( f : f64 , hi : u32 ) -> f64 {
173174 let mut tmp = f. to_bits ( ) ;
You can’t perform that action at this time.
0 commit comments