> On Jun 10, 2016, at 5:20 PM, Darren Mo <darren...@me.com> wrote:
>
>> – They’re not actually the maximum and minimum values of the type. In
>> particular, that `max(Float.infinity, .max)` wouldn’t be `Float.max` is
>> pretty seriously confusing.
>
> Infinity is a special value. I would argue that people who use infinity know
> exactly what they are doing and would not be thrown by Float.infinity being
> greater than Float.max. I am willing to bet that most regular users don’t
> even know that infinity can be represented since it is rarely needed in
> real-world usage.
For clarity, what use cases do you have in mind where the largest finite value
is more appropriate than infinity?
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution