Skip to content

Fix some typos #1014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler-builtins/src/float/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ where
return F::from_bits(MinInt::ZERO);
}

// If partial cancellation occured, we need to left-shift the result
// If partial cancellation occurred, we need to left-shift the result
// and adjust the exponent:
if a_significand < implicit_bit << 3 {
let shift = a_significand.leading_zeros() as i32
Expand Down
2 changes: 1 addition & 1 deletion compiler-builtins/src/probestack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub unsafe extern "custom" fn __rust_probestack() {
// page needed.
//
// Note that we're also testing against `8(%rsp)` to account for the 8
// bytes pushed on the stack orginally with our return address. Using
// bytes pushed on the stack originally with our return address. Using
// `8(%rsp)` simulates us testing the stack pointer in the caller's
// context.

Expand Down
2 changes: 1 addition & 1 deletion etc/update-api-list.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def eprint(*args, **kwargs):

@dataclass
class Crate:
"""Representation of public interfaces and function defintion locations in
"""Representation of public interfaces and function definition locations in
`libm`.
"""

Expand Down
2 changes: 1 addition & 1 deletion libm/src/math/rem_pio2_large.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const PIO2: [f64; 8] = [
// x[i] = floor(z)
// z = (z-x[i])*2**24
//
// y[] ouput result in an array of double precision numbers.
// y[] output result in an array of double precision numbers.
// The dimension of y[] is:
// 24-bit precision 1
// 53-bit precision 2
Expand Down
Loading