Found this bit of code...
if(fabs([tempPlacemark getCoordinate].latitude-latitude) < latDelta && fabs([tempPlacemark getCoordinate].longitude-longitude)<longDelta )
...
refers to this in Math.h:
extern float fabsf(float);
extern double fabs(double);
extern long double fabsl(long double);
So what am I looking at?
double fabs( double )
- returns the absolute value of the argument
NSLog(@"res: %.f", fabs(10)); //result 10
NSLog(@"res: %.f", fabs(-10)); //result 10
found here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With