hide long namesshow long names
hide short namesshow short names
Integer type:  int32  int64  nag_int  show int32  show int32  show int64  show int64  show nag_int  show nag_int

PDF version (NAG web site, 64-bit version, 64-bit version)
Chapter Contents
Chapter Introduction
NAG Toolbox

NAG Toolbox: nag_machine_real_smallest (x02ak)

 Contents

    1  Purpose
    2  Syntax
    7  Accuracy
    9  Example

Purpose

nag_machine_real_smallest (x02ak) returns the smallest positive floating-point number.

Syntax

[result] = x02ak
[result] = nag_machine_real_smallest

Description

nag_machine_real_smallest (x02ak) returns the smallest positive number in the model of floating-point arithmetic described in the X02 Chapter Introduction. The returned value is equal to b emin-1 , where b is the arithmetic base (see nag_machine_model_base (x02bh)) and emin is the minimum exponent (see nag_machine_model_minexp (x02bk)) in the model.

References

None.

Parameters

Compulsory Input Parameters

None.

Optional Input Parameters

None.

Output Parameters

1:     result – double scalar
The result of the function.

Error Indicators and Warnings

None.

Accuracy

None.

Further Comments

None.

Example

See Example in nag_machine_precision (x02aj).
function x02ak_example


fprintf('x02ak example results\n\n');

fprintf('the smallest positive model number = %22.15e\n', ...
        x02ak);


x02ak example results

the smallest positive model number = 2.225073858507201e-308

PDF version (NAG web site, 64-bit version, 64-bit version)
Chapter Contents
Chapter Introduction
NAG Toolbox

© The Numerical Algorithms Group Ltd, Oxford, UK. 2009–2015