Navigation

Operators and Keywords

Function List:

C++ API

: realmin
: realmin (n)
: realmin (n, m)
: realmin (n, m, k, …)
: realmin (…, class)

Return a scalar, matrix, or N-dimensional array whose elements are all equal to the smallest normalized floating point number that is representable.

The actual value is system dependent. On machines that support IEEE floating point arithmetic, realmin is approximately 2.2251e-308 for double precision and 1.1755e-38 for single precision.

When called with no arguments, return a scalar with the value realmin ("double").

When called with a single argument, return a square matrix with the dimension specified.

When called with more than one scalar argument the first two arguments are taken as the number of rows and columns and any further arguments specify additional matrix dimensions.

The optional argument class specifies the return type and may be either "double" or "single".

See also: realmax, intmin, eps.

Package: octave