Chapter Contents

Previous

Next
RBw.d

RBw.d



Writes numeric data in real-binary (floating-point) notation

Language element: format
Category: numeric
Width range: 2 to 8
Default width: 4
Decimal range: 0 to 10
Alignment: left
OpenVMS 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 the 10d value, then applies the real binary format to that value.


Details

Under OpenVMS, the RBw.d format causes floating-point numbers to be formatted in the native floating-point representation. 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 OpenVMS floating-point representation, see Architecture Reference Manual for Alpha and Architecture Reference Manual for VAX.

See Also


Chapter Contents

Previous

Next

Top of Page

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