[swift-evolution] Extend FloatingPoint with tau!

David Hart david at hartbit.com
Wed Jun 29 02:45:06 CDT 2016

Hello community,

Tau day <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 } 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160629/4dc6a440/attachment.html>

More information about the swift-evolution mailing list