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 ("simpleTest:  \(Simpletest)")

I know that a many variations can cause more or less results I can't determine if Float or abs is the culprit.


Do someone have an idea on this ?


Thank you


--

Louis Plouffe
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to