Passed through PR to Swift standard library Use String’s underlying UTF-8 view for Float parsing

Passed over Swift proposal Generic Math(s) Functions. That would solve a problem I came across some time ago trying to add something to all numerical types without code duplication.

Passed over another Swift proposal Approximate Equality for Floating Point. This is great:

if x.isAlmostEqual(to: y) {
  // equal enough!
}

if x.isAlmostEqual(to: y, tolerance: 0.001) {
  // equal enough!
}

if x.isAlmostZero( ) {
  // zero enough!
}

Browsed “anti-pitch” Just say “no” to protocols on structural types?.

Interesting discussion Adding more data structures to the standard library by guy preparing for Swift interview.