Created
November 8, 2012 20:59
-
-
Save jtoll/4041561 to your computer and use it in GitHub Desktop.
Machine epsilon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# "Machine epsilon gives an upper bound on the relative | |
# error due to rounding in floating point arithmetic." | |
# http://en.wikipedia.org/wiki/Machine_epsilon | |
# ?.Machine | |
.Machine$double.eps | |
# [1] 2.220446e-16 | |
# 2 ^ (-52) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment