<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">This was discussed as part of SE-0067.</div><div class=""><br class=""></div><div class="">The consensus was that pi deserved special treatment, as it is used in general-purpose code an order of magnitude more often than the all other constants combined. &nbsp;I don’t think that anyone argued against it’s inclusion.</div><div class=""><br class=""></div><div class="">– Steve</div><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 30, 2016, at 9:12 AM, Joseph Bell via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I would argue the reverse, i.e., removing pi as a property of FloatingPoint.&nbsp; What is it there vs. being part of a separate mathematic constants package?&nbsp; I don't see Euler's number or phi (golden ratio) in the proposal.<div class=""><br class=""></div><div class="">Joe</div><div class="">&nbsp;</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jun 29, 2016 at 2:45 AM, David Hart via swift-evolution <span dir="ltr" class="">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hello community,<div class=""><br class=""></div><div class=""><a href="http://tauday.com/" target="_blank" class="">Tau day</a>&nbsp;was yesterday, and reminded me that we forgot to provide a `tau` next to `FloatingPoint`’s `pi` property. How about we write a proposal to brind this forward-thinking constant to a forward-thinking language?</div><div class=""><br class=""></div><div class=""><b class="">Proposal: Extend `FloatingPoint` with tau</b></div><br class="">&nbsp;&nbsp;/// The mathematical constant tau = 6.28318...<br class="">&nbsp;&nbsp;///<br class="">&nbsp;&nbsp;/// Extensible floating-point types might provide additional APIs to obtain<br class="">&nbsp;&nbsp;/// this value to caller-specified precision.<br class=""><div class="">&nbsp;&nbsp;static&nbsp;var&nbsp;tau:&nbsp;Self&nbsp;{&nbsp;get&nbsp;}&nbsp;</div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">David.</div></font></span></div><br class="">_______________________________________________<br class="">
swift-evolution mailing list<br class="">
<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Joseph Bell<br class=""><div class=""><a href="http://dev.iachieved.it/iachievedit/" target="_blank" class="">http://dev.iachieved.it/iachievedit/</a></div><div class="">@iachievedit</div></div></div></div></div>
</div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>