### 3.1.2.4 REAL(16) Constants (VMS, U*X)

A REAL(16) constant has more than four times the accuracy of a REAL(4) number, and a greater range.

A REAL(16) constant occupies 16 bytes of memory. The number of digits that precede the exponent is unlimited, but typically only the leftmost 33 digits are significant.

Examples

The following examples demonstrate valid and invalid REAL(16) constants:

Valid |
`123456789Q4000` |
`-1.23Q-400` |
`+2.72Q0` |
`1.88_16` |
Invalid | Explanation
`1.Q5000` | Too large.
`1.Q-5000` | Too small.

For More Information:

- On general rules for real constants, see Section 3.1.2.1.
- On the format and range of REAL(16) data, see your user manual or programmer's guide.

Previous Page Next Page Table of Contents