Download presentation
Presentation is loading. Please wait.
Published byTracy Park Modified over 5 years ago
1
Machine epsilon eps returns the distance from 1.0 to the next largest floating point number. When eps is machine epsilon, the logic 1+eps>1 is TRUE
2
Conversion binary data to decimal data
Binary Decimal form Binary Decimal form
3
If computer cannot distinguish between EPS+1 and 1, the value EPS is smaller than the machine epsilon.
4
>>format long e >> eps ans = e-016 >>1+eps>1 1 >> 1+eps<1 >> (1+eps/2)>1
5
e = 0; EPS = 1.0; while (1+EPS)>1 EPS = EPS/2 e = e+1 end machineEPS = EPS*2
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.