Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit a3d55e6

Browse files
authored
update comments
1 parent a9fa14d commit a3d55e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/math/sqrtf.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ pub fn sqrtf(x: f32) -> f32 {
2929
}
3030
#[cfg(target_feature = "sse")]
3131
{
32-
// Note(Lokathor): If compile time settings allow, we just use SSE, since
33-
// the sqrt in `std` on these platforms also compiles down to an SSE
34-
// instruction.
32+
// Note: This path is unlikely since LLVM will usually have already
33+
// optimized sqrt calls into hardware instructions if sse is available,
34+
// but if someone does end up here they'll apprected the speed increase.
3535
#[cfg(target_arch = "x86")]
3636
use core::arch::x86::*;
3737
#[cfg(target_arch = "x86_64")]

0 commit comments

Comments
 (0)