about summary refs log tree commit diff
path: root/library/std/src/f32.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/f32.rs')
-rw-r--r--library/std/src/f32.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/f32.rs b/library/std/src/f32.rs
index b3afeca1ed8..12433d25bfa 100644
--- a/library/std/src/f32.rs
+++ b/library/std/src/f32.rs
@@ -574,7 +574,7 @@ impl f32 {
     #[stable(feature = "rust1", since = "1.0.0")]
     #[inline]
     pub fn log2(self) -> f32 {
-        crate::sys::log2f32(self)
+        unsafe { intrinsics::log2f32(self) }
     }
 
     /// Returns the base 10 logarithm of the number.