Generates an IEEE floating-point value by multiplying a number by 10 raised to the d th power.
Category: | Numeric |
Alignment: | Left |
CAUTION: |
Large
floating-point values and floating-point values that require precision
might not be identical to the original SAS value when they are written
to an IBM mainframe by using the IEEE format and read back into SAS
using the IEEE informat.
|
specifies the width of the output field.
Default | 8 |
Range | 3–8 |
Tip | If w is 8, an IEEE double-precision, floating-point number is written. If w is 5, 6, or 7, an IEEE double-precision, floating-point number is written, which assumes truncation of the appropriate number of bytes. If w is 4, an IEEE single-precision floating-point number is written. If w is 3, an IEEE single-precision, floating-point number is written, which assumes truncation of one byte. |
specifies to multiply the number by 10d.
Default | 0 |
Range | 0–10 |
Statements
|
Results1
|
---|---|
select put(1,ieee4.); |
3FF00000 |
select put(1,ieee5.); |
3FF0000000 |
1The result contains hexadecimal representations of binary numbers stored in IEEE form. |