Chapter Contents |
Previous |
Next |
SAS Companion for the OpenVMS Operating Environment |
In addition, with Alpha T_FLOATING numbers, you can specify a minimum length of 3 bytes using the LENGTH statement in the DATA step. However, with VAX D_FLOATING numbers, the minimum length you can specify is 2 bytes.
Significant Digits and Largest Integer for SAS Variables in the Alpha Environment shows the number of nontruncated significant digits and largest integers that can be represented exactly with no loss of precision for each of the specified lengths.
Length in Bytes |
Significant Digits Retained |
Largest Integer Represented Exactly |
---|---|---|
3 | 3 | 8,191 |
4 | 6 | 2,097,151 |
5 | 8 | 536,870,911 |
6 | 11 | 137,438,953,471 |
7 | 13 | 35,184,372,088,831 |
8 | 15 | 9,007,199,254,740,991 |
For more information about converting 2-byte numeric variables from VAX environments to 3-byte numeric variables for use in Alpha environments, see the procedure VAXTOAXP.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.