The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Machine epsilon
Replies: 1   Last Post: Feb 7, 2013 1:55 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jim Rockford

Posts: 164
Registered: 6/30/06
Machine epsilon
Posted: Feb 6, 2013 10:49 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

My understanding of the "machine epsilon" number (eps in Matlab) is that it's the smallest floating point number such that (1+eps) > 1.

Indeed, in Matlab you get a result of true (1) with the command

>> 1 + eps > 1

Why then is it the case that

>> 1 + .7*eps > 1

also returns true? Doesn't it mean, technically speaking, that .7*eps is an even smaller machine epsilon?

I realize that the factor 0.5 is a threshold, in the sense that

>> 1 + .500000001*eps > 1 (true)
>> 1 + .5*eps > 1 (false)

So, this computation involving eps has something to do with rounding. Can somebody clarify why .5000000000001*eps (for example) isn't considered machine epsilon, but eps is?

Much thanks,

Date Subject Author
Read Machine epsilon
Jim Rockford
Read Re: Machine epsilon
James Tursa

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.