Convert __FLT_EPSILON__ from Objective-C to Swift
4 answers
It looks like it comes from an Objective C line that looked like this:
#define __FLT_EPSILON__ 1.19209290e-7F
(Source: this thread ). So you can safely replace it here with your literal value.
0
source to share