next up previous contents
Next: Minimum Data Values
Up: CONSTANTS
Previous: Machine Precision

Maximum Data Values

Constants with names of the form VAL__MAX$<$T$>$ represent the maximum (most positive) non-bad values which can be represented on the machine. The data types of these constants match the quantities they describe, as follows:

Constant Type Value Hexadecimal Pattern
VAL__MAXUB _UBYTE 254 FE
VAL__MAXB _BYTE 127 7F
VAL__MAXUW _UWORD 65534 FFFE
VAL__MAXW _WORD 32767 7FFF
VAL__MAXI _INTEGER 2147483647 7FFFFFFF
VAL__MAXR _REAL 1.7014117E$+$38 FFFF7FFF
VAL__MAXD _DOUBLE 1.701411834604923D$+$38 FFFFFFFFFFFF7FFF

Constants with names of the form NUM__MAX$<$T$>$ represent the maximum (most positive) numbers which can be represented on the machine. The data types of these constants also match the quantities they describe, as follows:

Constant Type Value Hexadecimal Pattern
NUM__MAXUB _UBYTE 255 FF
NUM__MAXB _BYTE 127 7F
NUM__MAXUW _UWORD 65535 FFFF
NUM__MAXW _WORD 32767 7FFF
NUM__MAXI _INTEGER 2147483647 7FFFFFFF
NUM__MAXR _REAL 1.7014117E$+$38 FFFF7FFF
NUM__MAXD _DOUBLE 1.701411834604923D$+$38 FFFFFFFFFFFF7FFF


next up previous contents
Next: Minimum Data Values
Up: CONSTANTS
Previous: Machine Precision

PRIMDAT --- Processing of Primitive Numerical Data
Starlink User Note 39
R F Warren-Smith
28 February 1995
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council