MATLAB Function Reference
  Go to function:
    Search    Help Desk 
realmin    Examples   See Also

Smallest positive floating-point number

Syntax

Description

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

Examples

On machines with IEEE floating-point format, 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         Floating-point relative accuracy

realmax     Largest positive floating-point number



[ Previous | Help Desk | Next ]