[swift-evolution] Extend FloatingPoint with tau!

Jonathan Hull jhull at gbis.com
Thu Jun 30 05:59:06 CDT 2016


+1

Lots of win for very small effort.
> Hello community,
> 
> Tau day <http://tauday.com/ <http://tauday.com/>> 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?
> 
> Proposal: Extend `FloatingPoint` with tau
> 
>   /// The mathematical constant tau = 6.28318...
>   ///
>   /// Extensible floating-point types might provide additional APIs to obtain
>   /// this value to caller-specified precision.
>   static var tau: Self { get } 
> 
> David.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160630/8e11c807/attachment.html>


More information about the swift-evolution mailing list