Skip to content

Commit 356fe59

Browse files
authored
Fix some typos
1 parent 9c176c2 commit 356fe59

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compiler-builtins/src/float/add.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ where
130130
return F::from_bits(MinInt::ZERO);
131131
}
132132

133-
// If partial cancellation occured, we need to left-shift the result
133+
// If partial cancellation occurred, we need to left-shift the result
134134
// and adjust the exponent:
135135
if a_significand < implicit_bit << 3 {
136136
let shift = a_significand.leading_zeros() as i32

compiler-builtins/src/probestack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub unsafe extern "custom" fn __rust_probestack() {
7373
// page needed.
7474
//
7575
// Note that we're also testing against `8(%rsp)` to account for the 8
76-
// bytes pushed on the stack orginally with our return address. Using
76+
// bytes pushed on the stack originally with our return address. Using
7777
// `8(%rsp)` simulates us testing the stack pointer in the caller's
7878
// context.
7979

etc/update-api-list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def eprint(*args, **kwargs):
3434

3535
@dataclass
3636
class Crate:
37-
"""Representation of public interfaces and function defintion locations in
37+
"""Representation of public interfaces and function definition locations in
3838
`libm`.
3939
"""
4040

libm/src/math/rem_pio2_large.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const PIO2: [f64; 8] = [
146146
// x[i] = floor(z)
147147
// z = (z-x[i])*2**24
148148
//
149-
// y[] ouput result in an array of double precision numbers.
149+
// y[] output result in an array of double precision numbers.
150150
// The dimension of y[] is:
151151
// 24-bit precision 1
152152
// 53-bit precision 2

0 commit comments

Comments
 (0)