Re: [swift-users] Linux Swift: Strange bug found in a simple arithmetic

2016-09-07 Thread louislepegue via swift-users
Thanks A must reading, at least I understand that is a compiler bug that could happen with type conversion. Also, a workaround can be easily done. On this September 7, I hope that we will have a new release :-)  

Re: [swift-users] Linux Swift: Strange bug found in a simple arithmetic

2016-09-07 Thread louislepegue via swift-users
oups!  typo! the real test: let simpleTest = Float(abs(11 - -3) + abs(4.5 - -4))  //! print ("simpleTest:  \(simpleTest)") Le 07/09/2016 à 10:33, Alex Blewitt a écrit : On 7 Sep 2016, at 15:11, louisl

[swift-users] Linux Swift: Strange bug found in a simple arithmetic

2016-09-07 Thread louislepegue via swift-users
Hi This simple instruction can take more than 20 seconds to execute  and near 100% CPU on different Linux Swift version I tested. Also tested in compiled mode with the same result. let simpleTest = Float(abs(11 - -3) + abs(4.5 - -4))  //! print

[swift-users] Swift and the new 2.2 release (Linux)

2016-03-23 Thread louislepegue via swift-users
Hi Linux-Swifter! Where is the Swift Linux compiler? I've installed many beta version of Linux Swift since December 2015 without any problems. Then starting March 16, some buggy version appear. In fact, the compiler (not the REPL) is no more working. In the latest version 2.2 (March 21). Th