Re: [swift-users] Plan to move swift-evolution and swift-users mailing lists to Discourse

2017-02-22 Thread Gavin Eadie via swift-users
I've been participating on email lists and forums for forty-ish years and this dichotomy has been an ever present cloud hanging over that activity, sometimes, sadly, to the extent that the list-v-forum debate has swamped the desired topic of conversation .. I've seen it reach language-war

[swift-users] FloatingPoint equality ..

2017-06-29 Thread Gavin Eadie via swift-users
I've spent a fascinating evening and morning in the arcane depths of floating point, specifically researching the comparison of two floating point numbers. I pretty much understand how to do this with a combination of 'epsilon' and 'ULPs' after reading this

Re: [swift-users] FloatingPoint equality ..

2017-06-29 Thread Gavin Eadie via swift-users
.. agreed but this looks too awful (and is mostly a joke!) return a >= b.nextDown.nextDown.nextDown.nextDown && a <= b.nextUp. nextUp.nextUp.nextUp Thanks, friends, for your insights and info .. Gavin On Thu, Jun 29, 2017 at 3:30 PM, Taylor Swift via swift-users < swift-users@swift.org>