We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8cf234 commit 317412aCopy full SHA for 317412a
src/libstd/num/f64.rs
@@ -278,18 +278,22 @@ impl One for f64 {
278
279
#[cfg(not(test))]
280
impl Add<f64,f64> for f64 {
281
+ #[inline]
282
fn add(&self, other: &f64) -> f64 { *self + *other }
283
}
284
285
impl Sub<f64,f64> for f64 {
286
287
fn sub(&self, other: &f64) -> f64 { *self - *other }
288
289
290
impl Mul<f64,f64> for f64 {
291
292
fn mul(&self, other: &f64) -> f64 { *self * *other }
293
294
295
impl Div<f64,f64> for f64 {
296
297
fn div(&self, other: &f64) -> f64 { *self / *other }
298
299
0 commit comments