MATLAB Function Reference Previous page   Next Page
realmin

Smallest positive floating-point number

Syntax

Description

n = realmin returns the smallest positive normalized floating-point number on your computer. Anything smaller underflows or is an IEEE "denormal."

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

eps, realmax, intmin


Previous page  realmax realpow Next page

© 1994-2005 The MathWorks, Inc.