[swift-evolution] floating point numbers implicit conversion

David Waite david at alkaline-solutions.com
Fri Jun 16 17:38:09 CDT 2017


> On Jun 16, 2017, at 4:34 PM, Greg Parker <gparker at apple.com <mailto:gparker at apple.com>> wrote:
> 
> 
>> On Jun 16, 2017, at 10:35 AM, David Waite via swift-evolution <swift-evolution at swift.org <mailto: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.

Meh, thats a pretty long eventually. Thanks for shooting it down gently ;-)

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


More information about the swift-evolution mailing list