Steve's proposal would improve this case. Since a struct's default Equatable conformance is derived from the Equatable conformances of its fields, and Double's Equatable conformance would guarantee that a == a, so would the struct's == implementation.