NAG FL Interface
x02bef (decimal_​digits)

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 <nag.h>
Integer  x02bef_ (double *x)
The routine may be called by the names x02bef or nagf_machine_decimal_digits.

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.