make spellfix (+ manual tweak)

This commit is contained in:
Damian Gryski
2026-04-16 13:54:17 -07:00
committed by Ayke
parent aed8116b22
commit 6426bf79b4
6 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -76,7 +76,7 @@ func fmaximumf(x, y float32) float32 {
return maximumFloat32(x, y)
}
// Create seperate copies of the function that are not exported.
// Create separate copies of the function that are not exported.
// This is necessary so that LLVM does not recognize them as builtins.
// If tests called the builtins, LLVM would just override them on most platforms.
@@ -114,7 +114,7 @@ func minimumFloat[T float, I floatInt](x, y T, minPosNaN, magMask I) T {
// We can turn a float into a signed-comparable value by reversing the comparison order of negative values.
// We can reverse the order by inverting the bits.
// This also ensures that positive zero compares greater than negative zero (as required by the spec).
// Negative NaN values will compare less than any other value, so they require no special handling to propogate.
// Negative NaN values will compare less than any other value, so they require no special handling to propagate.
if xBits < 0 {
xBits ^= magMask
}
@@ -138,7 +138,7 @@ func maximumFloat[T float, I floatInt](x, y T, minPosNaN, magMask I) T {
// We can turn a float into a signed-comparable value by reversing the comparison order of negative values.
// We can reverse the order by inverting the bits.
// This also ensures that positive zero compares greater than negative zero (as required by the spec).
// Positive NaN values will compare greater than any other value, so they require no special handling to propogate.
// Positive NaN values will compare greater than any other value, so they require no special handling to propagate.
if xBits < 0 {
xBits ^= magMask
}
+1 -1
View File
@@ -92,7 +92,7 @@ func (layout gcLayout) scan(start, len uintptr) {
scanSimple(start, len, size*unsafe.Alignof(start), mask)
default:
// The layout is stored seperately in a global object.
// The layout is stored separately in a global object.
// Extract the size and bitmap.
layoutAddr := unsafe.Pointer(layout)
size := *(*uintptr)(layoutAddr)