Skip to content

Instantly share code, notes, and snippets.

@thekvs
Created March 14, 2013 17:04
Show Gist options
  • Save thekvs/5163109 to your computer and use it in GitHub Desktop.
Save thekvs/5163109 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <limits>
int
main()
{
std::cout << std::numeric_limits<double>::epsilon() << std::endl;
std::cout << std::numeric_limits<float>::epsilon() << std::endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment