Edit:
This is not strictly a Floating point question as NSTimeInterval is derived from Double. However I added Floating point to the tags as it could be related.
Problem:
When computing the difference between two identical NSTimeInterval I get a value different than zero (-0.0000013etc..).
Question:
Why is that? My understanding is that they are Double values so the behaviour should be consistent (if those where Float type it would be different).
Swift Code:
let timeDifference : NSTimeInterval = timeValue.timeIntervalSince1970 - timeStarted!.timeIntervalSince1970