@@ 72,7 72,7 @@ 0’s in the fractional:
Not a number or NaN values are similar to infinites, but they have a non-zero
fractional part. The fractional part of a NaN carries some information, we’ll
copy as is and just chop off the end because all the important information is in
-the first few bits. We add the following the second switch statement:
+the first few bits. We add the following the first switch statement:
func (e *Encoder) writeFloat(input float64) error {
switch {
@@ 81,7 81,6 @@ the first few bits. We add the following
var _, frac = unpackFloat64(input)
var f = frac >> (float64FracBits - float16FracBits)
return e.writeFloat16(math.Signbit(input), 1<<float16ExpBits-1, f)
- ...
}
}