Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

realmin

Smallest positive normalized floating-point number

Syntax

n = realmin
realmin('double')
realmin('single')

Description

n = realmin returns the smallest positive normalized floating-point number in IEEE double precision.

realmin('double') is the same as realmin with no arguments.

realmin('single') returns the smallest positive normalized floating-point number in IEEE single precision.

Examples

Find the value of the constant realmin:

ndouble = realmin
nsingle = realmin('single')
ndouble =

  2.2251e-308


nsingle =

  1.1755e-38

Related Examples

See Also

| |

Introduced before R2006a

Was this topic helpful?