<div dir="ltr"><div>Why is eg the BinaryInteger.signum() a method and not a computed property?<br></div><div><br></div><div>public protocol BinaryInteger … {<br></div><div><div>    /// Returns `-1` if this value is negative and `1` if it&#39;s positive;</div><div>    /// otherwise, `0`.</div><div>    ///</div><div>    /// - Returns: The sign of this number, expressed as an integer of the same</div><div>    ///   type.</div><div>    public func signum() -&gt; Self</div></div><div>}</div><div><br></div><div>The Swift API Design Guidelines doesn&#39;t say very much about computed property vs method with no arguments, but it seems like signum() violates them, no?<br></div><div><br></div><div>/Jens</div></div>