MATLAB Function Reference |
Smallest positive floating-point number
Syntax
Description
returns the smallest positive normalized floating-point number on your computer. Anything smaller underflows or is an IEEE "denormal." n = realmin
REALMIN('double')
is the same as REALMIN
with no arguments.
REALMIN('single')
is the smallest positive normalized single precision floating point number on your computer.
Examples
realmin
is 2^(-1022)
or about 2.2251e-308
.
Algorithm
The realmin
function is equivalent to pow2(1,minexp)
where minexp
is the smallest possible floating-point exponent.
Execute type
realmin
to see minexp
for various computers.
See Also
realmax | realpow |
© 1994-2005 The MathWorks, Inc.