NAG Library Routine Document

x02bef  (decimal_digits)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

1
Purpose

x02bef returns the maximum number of decimal digits which can be accurately represented over the whole range of floating-point numbers.

2
Specification

Fortran Interface
Function x02bef ( x)
Integer:: x02bef
Real (Kind=nag_wp), Intent (In):: x
C Header Interface
#include nagmk26.h
Integer  x02bef_ ( double *x)

3
Description

None.

4
References

None.

5
Arguments

1:     x – Real (Kind=nag_wp)Dummy

6
Error Indicators and Warnings

None.

7
Accuracy

None.

8
Parallelism and Performance

x02bef is not threaded in any implementation.

9
Further Comments

None.

10
Example

See Section 10 in x02ajf.
© The Numerical Algorithms Group Ltd, Oxford, UK. 2017