File tree 3 files changed +14
-0
lines changed 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ #[ inline]
2
+ #[ cfg_attr( all( test, assert_no_panic) , no_panic:: no_panic) ]
3
+ pub fn ldexp ( x : f64 , n : i32 ) -> f64 {
4
+ super :: scalbn ( x, n)
5
+ }
Original file line number Diff line number Diff line change
1
+ #[ inline]
2
+ #[ cfg_attr( all( test, assert_no_panic) , no_panic:: no_panic) ]
3
+ pub fn ldexpf ( x : f32 , n : i32 ) -> f32 {
4
+ super :: scalbnf ( x, n)
5
+ }
Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ mod fmod;
104
104
mod fmodf;
105
105
mod hypot;
106
106
mod hypotf;
107
+ mod ldexp;
108
+ mod ldexpf;
107
109
mod log;
108
110
mod log10;
109
111
mod log10f;
@@ -166,6 +168,8 @@ pub use self::fmod::fmod;
166
168
pub use self :: fmodf:: fmodf;
167
169
pub use self :: hypot:: hypot;
168
170
pub use self :: hypotf:: hypotf;
171
+ pub use self :: ldexp:: ldexp;
172
+ pub use self :: ldexpf:: ldexpf;
169
173
pub use self :: log:: log;
170
174
pub use self :: log10:: log10;
171
175
pub use self :: log10f:: log10f;
You can’t perform that action at this time.
0 commit comments