madking153
- 37
- 0
hi, how to determine the machine precision in MATLAB and estimate from this how many bits are used in the mantissa ??
The discussion centers around determining machine precision in MATLAB, specifically how to estimate machine epsilon and the implications for the number of bits used in the mantissa. Participants explore various methods to compute machine precision, including coding routines and using built-in functions.
Participants express differing views on the effectiveness of the two proposed algorithms for determining machine epsilon, with some agreeing on the utility of the built-in MATLAB function while others debate the accuracy of the iterative methods.
There are unresolved questions regarding the reliability of the different algorithms and their implications for machine precision, as well as the dependence on specific machine architectures and MATLAB versions.
madking153 said:hi, how to determine the machine precision in MATLAB and estimate from this how many bits are used in the mantissa ??
ZapperZ said:1. x = 1.0
2. x = (x/2) + 1.0
3. If x > 1.0, go do (2) again