Chapter Contents

Previous

Next
RBw.d

RBw.d



Writes real binary (floating-point) data

Category numeric
Width range: 2-8
Default width: 4
Decimal range: 0-10
Alignment: left
Windows specifics: native floating-point representation


Syntax
Details
See Also

Syntax

RBw.d

w
specifies the width of the output field.

d
optionally specifies a scaling factor. When you specify a d value, the RBw.d format multiplies the number by 10d, and then applies the real binary format to that value.


Details

The RBw.d format writes numeric data in real binary (floating-point) notation. Numeric data for scientific calculations are commonly represented in floating-point notation. (The SAS System stores all numeric values in floating-point notation.) A floating-point value consists of two parts: a mantissa that gives the value and an exponent that gives the value's magnitude.

Real binary is the most efficient format for representing numeric values because the SAS System already represents numbers this way and no conversion is needed.

For more information about Windows floating-point notation, see Intel Corporation's i486 Microprocessor Programmer's Reference Manual.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.