ISSUE 267

Number 267
Category errata
Synopsis 2.5.1: Integer constants
State lrmdraft
Class errata-simple
Arrival-DateJan 17 2003
Originator Shalom.Bresticker@motorola.com
Release 2001b: 2.5.1
Environment
Description

Now for something a little more serious.

In 2.5.1, para. 2, after saying that integer constants may be in the form of
simple decimal numbers, it says,
"The second form specifies a size constant, which shall be composed of up to
three tokens -- an optional size constant, a single quote followed by a base
format character, and the digits representing the value of the number."

Note that the term "size constant" is used twice, with different meanings.

I found that in 1364-1995, the first one was "sized constant" and it was
changed, probably by mistake, to "size constant".

But even "sized constant" is not right, because the size specification is
optional.

After some investigation, I concluded that the first term should be "based
constant" instead of "sized constant", and that is indeed the term used
elsewhere in the LRM, where a based constant may be either sized or unsized.

It sounds petty, but since there are many places in the LRM where behavior
differs if a number is sized or not, the precision is important.

I have more issues on this section, but let's start with this.



Fix

In 2.5.1, para. 2,
CHANGE

"The second form specifies a size constant"

TO

"The second form specifies a based constant"
("based constant" italicized)

Audit-Trail
Unformatted


Hosted by Boyd Technology