Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this 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

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced before R2006a

Was this topic helpful?