diff options
| author | bors <bors@rust-lang.org> | 2024-08-01 08:09:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-01 08:09:31 +0000 |
| commit | 97ac52f579fe1003a162324d448dad43a942b5f5 (patch) | |
| tree | f8cc6294bb554f1fc41fb47a452923b517f6e6f7 /library/std/src/f32.rs | |
| parent | 70591dc15db32941fe3595fdbf98e58d6975f95e (diff) | |
| parent | ff1476ca20d1c5e1dbbba39820fc6a12cb71a959 (diff) | |
| download | rust-97ac52f579fe1003a162324d448dad43a942b5f5.tar.gz rust-97ac52f579fe1003a162324d448dad43a942b5f5.zip | |
Auto merge of #128481 - matthiaskrgr:rollup-efa706r, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #128416 (android: Remove libstd hacks for unsupported Android APIs) - #128437 (improve bootstrap to allow selecting llvm tools individually) - #128450 (Create COFF archives for non-LLVM backends) - #128458 (Emit an error if `#[optimize]` is applied to an incompatible item) - #128477 (Finish blessing `coverage/mcdc` tests after LLVM 19 upgrade) - #128478 (Ignore `use` declaration reformatting in `.git-blame-ignore-revs`.) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src/f32.rs')
| -rw-r--r-- | library/std/src/f32.rs | 2 |
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. |
