Skip to content

Instantly share code, notes, and snippets.

@brennanMKE
Last active August 29, 2015 13:58
Show Gist options
  • Save brennanMKE/10009428 to your computer and use it in GitHub Desktop.
Save brennanMKE/10009428 to your computer and use it in GitHub Desktop.
Usage of __FLT_EPSILON__ in UIImage-BlurredFrame
BOOL hasBlur = blurRadius > __FLT_EPSILON__;
BOOL hasSaturationChange = fabs(saturationDeltaFactor - 1.) > __FLT_EPSILON__;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment