Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

realmin - Smallest positive normalized floating-point number

Syntax

n = realmin

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS