DADiSP Worksheet Functions > Function Categories > Machine Metrics > REALMIN

 

REALMIN

Purpose:

Returns the smallest positive real number.

Syntax:

REALMIN("precision")

"precision"

-

Optional, a string, the real number precision.

"single"

:

single precision

"double"

:

double precision (default)

Returns:

A real, the smallest positive value.

Example:

realmin < eps

 

returns 1.0.

Remarks:

Any operation resulting in a value less than REALMIN is an underflow.

 

REALMIN or REALMIN("double") == 2^(-1022)

 

REALMIN("single") == 2^(-126)

See Also:

BITMAX

EPS

INF

REALMAX