[swift-evolution] TrigonometricFloatingPoint/MathFloatingPoint protocol?

Jacob Williams ponyboy47 at gmail.com
Thu Aug 3 11:38:11 CDT 2017


There’s also a PureSwift organization of GitHub that has several Swift PM packages built specifically with Linux support in mind

https://github.com/PureSwift <https://github.com/PureSwift>

It looks like it’s along the lines of SwiftBreezy, but it hasn’t died out…yet.

At the same time, this may just be another example of how without an Apple “backed”/supported repo, the community is very likely to become more and more fragmented as more and more people implement the same few frameworks with minor variations/improvements.

> On Aug 3, 2017, at 5:04 AM, Stephen Canon via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> On Aug 2, 2017, at 7:03 PM, Karl Wagner via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> 
>> It’s important to remember that computers are mathematical machines, and some functions which are implemented in hardware on essentially every platform (like sin/cos/etc) are definitely best implemented as compiler intrinsics.
> 
> sin/cos/etc are implemented in software, not hardware. x86 does have the FSIN/FCOS instructions, but (almost) no one actually uses them to implement the sin( ) and cos( ) functions; they are a legacy curiosity, both too slow and too inaccurate for serious use today. There are no analogous instructions on ARM or PPC.
> 
> – Steve
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

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


More information about the swift-evolution mailing list