@@ -112,8 +112,6 @@ impl f32 {
112112 /// # Examples
113113 ///
114114 /// ```
115- /// use std::f32;
116- ///
117115 /// let x = 3.6_f32;
118116 /// let y = -3.6_f32;
119117 /// let abs_difference_x = (x.fract() - 0.6).abs();
@@ -135,8 +133,6 @@ impl f32 {
135133 /// # Examples
136134 ///
137135 /// ```
138- /// use std::f32;
139- ///
140136 /// let x = 3.5_f32;
141137 /// let y = -3.5_f32;
142138 ///
@@ -164,8 +160,6 @@ impl f32 {
164160 /// # Examples
165161 ///
166162 /// ```
167- /// use std::f32;
168- ///
169163 /// let f = 3.5_f32;
170164 ///
171165 /// assert_eq!(f.signum(), 1.0);
@@ -190,8 +184,6 @@ impl f32 {
190184 /// # Examples
191185 ///
192186 /// ```
193- /// use std::f32;
194- ///
195187 /// let f = 3.5_f32;
196188 ///
197189 /// assert_eq!(f.copysign(0.42), 3.5_f32);
@@ -217,8 +209,6 @@ impl f32 {
217209 /// # Examples
218210 ///
219211 /// ```
220- /// use std::f32;
221- ///
222212 /// let m = 10.0_f32;
223213 /// let x = 4.0_f32;
224214 /// let b = 60.0_f32;
@@ -301,8 +291,6 @@ impl f32 {
301291 /// # Examples
302292 ///
303293 /// ```
304- /// use std::f32;
305- ///
306294 /// let x = 2.0_f32;
307295 /// let abs_difference = (x.powi(2) - (x * x)).abs();
308296 ///
@@ -320,8 +308,6 @@ impl f32 {
320308 /// # Examples
321309 ///
322310 /// ```
323- /// use std::f32;
324- ///
325311 /// let x = 2.0_f32;
326312 /// let abs_difference = (x.powf(2.0) - (x * x)).abs();
327313 ///
@@ -341,8 +327,6 @@ impl f32 {
341327 /// # Examples
342328 ///
343329 /// ```
344- /// use std::f32;
345- ///
346330 /// let positive = 4.0_f32;
347331 /// let negative = -4.0_f32;
348332 ///
@@ -363,8 +347,6 @@ impl f32 {
363347 /// # Examples
364348 ///
365349 /// ```
366- /// use std::f32;
367- ///
368350 /// let one = 1.0f32;
369351 /// // e^1
370352 /// let e = one.exp();
@@ -386,8 +368,6 @@ impl f32 {
386368 /// # Examples
387369 ///
388370 /// ```
389- /// use std::f32;
390- ///
391371 /// let f = 2.0f32;
392372 ///
393373 /// // 2^2 - 4 == 0
@@ -407,8 +387,6 @@ impl f32 {
407387 /// # Examples
408388 ///
409389 /// ```
410- /// use std::f32;
411- ///
412390 /// let one = 1.0f32;
413391 /// // e^1
414392 /// let e = one.exp();
@@ -434,8 +412,6 @@ impl f32 {
434412 /// # Examples
435413 ///
436414 /// ```
437- /// use std::f32;
438- ///
439415 /// let five = 5.0f32;
440416 ///
441417 /// // log5(5) - 1 == 0
@@ -455,8 +431,6 @@ impl f32 {
455431 /// # Examples
456432 ///
457433 /// ```
458- /// use std::f32;
459- ///
460434 /// let two = 2.0f32;
461435 ///
462436 /// // log2(2) - 1 == 0
@@ -479,8 +453,6 @@ impl f32 {
479453 /// # Examples
480454 ///
481455 /// ```
482- /// use std::f32;
483- ///
484456 /// let ten = 10.0f32;
485457 ///
486458 /// // log10(10) - 1 == 0
@@ -503,8 +475,6 @@ impl f32 {
503475 /// # Examples
504476 ///
505477 /// ```
506- /// use std::f32;
507- ///
508478 /// let x = 3.0f32;
509479 /// let y = -3.0f32;
510480 ///
@@ -536,8 +506,6 @@ impl f32 {
536506 /// # Examples
537507 ///
538508 /// ```
539- /// use std::f32;
540- ///
541509 /// let x = 8.0f32;
542510 ///
543511 /// // x^(1/3) - 2 == 0
@@ -558,8 +526,6 @@ impl f32 {
558526 /// # Examples
559527 ///
560528 /// ```
561- /// use std::f32;
562- ///
563529 /// let x = 2.0f32;
564530 /// let y = 3.0f32;
565531 ///
@@ -686,8 +652,6 @@ impl f32 {
686652 /// # Examples
687653 ///
688654 /// ```
689- /// use std::f32;
690- ///
691655 /// let f = 1.0f32;
692656 ///
693657 /// // atan(tan(1))
@@ -766,8 +730,6 @@ impl f32 {
766730 /// # Examples
767731 ///
768732 /// ```
769- /// use std::f32;
770- ///
771733 /// let x = 6.0f32;
772734 ///
773735 /// // e^(ln(6)) - 1
@@ -881,8 +843,6 @@ impl f32 {
881843 /// # Examples
882844 ///
883845 /// ```
884- /// use std::f32;
885- ///
886846 /// let x = 1.0f32;
887847 /// let f = x.sinh().asinh();
888848 ///
@@ -906,8 +866,6 @@ impl f32 {
906866 /// # Examples
907867 ///
908868 /// ```
909- /// use std::f32;
910- ///
911869 /// let x = 1.0f32;
912870 /// let f = x.cosh().acosh();
913871 ///
0 commit comments