[swift-evolution] floating point numbers implicit conversion

Greg Parker gparker at apple.com
Fri Jun 16 17:34:46 CDT 2017


> On Jun 16, 2017, at 10:35 AM, David Waite via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Has it been proposed to eventually make CGFloat into a typealias for Double to reduce the amount of explicit conversion necessary? (I realize as a proposal this would be better suited for corelibs-libfoundation)
> 
> - For Apple platforms, eventually CGFloat will *always* be a Double value, as Swift does not have a 32-bit OS X runtime, and my understanding is that new builds are no longer accepted via the App Store for 32 bit IOS versions. I believe this would limit Apple platform impact to 32-bit iOS apps shipped outside the App Store which have upgraded to some future version of XCode.

watchOS is still 32-bit. That makes "eventually" be longer that you would like, I think.


-- 
Greg Parker     gparker at apple.com <mailto:gparker at apple.com>     Runtime Wrangler


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


More information about the swift-evolution mailing list