Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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

See Also

| |

Tutorials

Was this topic helpful?