Skip to content

Instantly share code, notes, and snippets.

@bastjan
Created February 13, 2014 09:59
Show Gist options
  • Save bastjan/8972584 to your computer and use it in GitHub Desktop.
Save bastjan/8972584 to your computer and use it in GitHub Desktop.
floating point number precision test
perl -e 'printf("%40.40f\n", 0.7)."\n"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment