Skip to content

Instantly share code, notes, and snippets.

@blessingLopes
Created September 2, 2016 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blessingLopes/75121324466ae1108af06d7efc7ba082 to your computer and use it in GitHub Desktop.
Save blessingLopes/75121324466ae1108af06d7efc7ba082 to your computer and use it in GitHub Desktop.
func f <T: FloatingPoint> (_ p: T, _ x: T = 0.5) -> Bool{
return p < x
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment