Reads an IEEE floating-point value and divides it by 10 raised to the d th power.
Category: | Numeric |
Interaction: | List input is incompatible with binary input when this informat is specified in an INFORMAT= statement or an ATTRIB= statement using the INFORMAT= argument. SAS issues a warning and uses formatted input to read the data. |
specifies the width of the input field.
Default | 8 |
Range | 2–8 |
Tip | If w is 8, an IEEE double-precision, floating-point number is read. If w is 5, 6, or 7, an IEEE double-precision, floating-point number is read, which assumes truncation of the appropriate number of bytes. If w is 4, an IEEE single-precision, floating-point number is read. If w is 3, an IEEE single-precision, floating-point number is read, which assumes truncation of one byte. |
specifies the power of 10 by which to divide the value.
input test1 ieee4.; input test2 ieee5.;
Data Line 1
|
Result
|
---|---|
----+----1----+ |
|
3F800000 |
1 |
3FF0000000 |
1 |
1The data lines are hexadecimal representations of binary numbers that are stored in IEEE format. |