[swift-evolution] [Re-Review] SE-0104: Protocol-oriented integers

Karl Wagner razielim at gmail.com
Thu Feb 23 01:52:22 CST 2017

>> Are there Number types which can’t be Comparable?
>> Complex numbers. I believe `Number` is designed to allow a complex number type to conform.

Magnitude could be comparable then. For vectors, matrices and complex numbers, “magnitude” typically refers to a scalar. I don’t think we need something broader than that.

- Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170223/65179eab/attachment.html>

More information about the swift-evolution mailing list