> On Feb 21, 2017, at 20:46, Xiaodi Wu via swift-evolution 
> <[email protected]> wrote:
> 
> Sign, perhaps, can be thought of as "part of a number," but signum refers to 
> the signum function (http://en.wikipedia.org/wiki/Sign_function) defined as:
> 
> -1 if x < 0
> 0 if x = 0
> 1 if x > 0
> 
> 1 isn't really "part of" 42, for instance, at least not in the sense that 42 
> and + are "part of" 42.

Should it be a stand-alone function, then?

- Dave Sweeris 
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to