Reads numeric data that are stored in real binary (floating-point)
notation
-
w
-
specifies the width of the input field.
-
d
-
optionally specifies the power of 10 by
which to divide the value.
Note:
Different operating environments store real binary
values in different ways. However, the RBw.d informat reads real binary values with consistent results
if the values are created on the same type of operating environment that you
use to run SAS.
The following table compares the names of real binary
notation in several programming languages:
- CAUTION:
- Using the RBw.d informat to read real binary
information
on equipment that conforms to the IEEE standard for floating-point numbers
results in a truncated eight-byte number (double-precision), rather than in
a true four-byte floating-point number (single-precision).
![[cautend]](../common/images/cautend.gif)
input @1 x rb8.;
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.