Re: errata/49: another error in 4.4.3 ?

From: Steven Sharp (sharp@cadence.com)
Date: Mon Oct 15 2001 - 12:50:01 PDT


Precedence: bulk

The following reply was made to PR errata/49; it has been noted by GNATS.

From: Steven Sharp <sharp@cadence.com>
To: btf-bugs@boyd.com, Shalom.Bresticker@motorola.com
Cc:
Subject: Re: errata/49: another error in 4.4.3 ?
Date: Mon, 15 Oct 2001 15:45:42 -0400 (EDT)

>Why is the output
> c=21 // example size is 16 bits (size of c)
>?
>* *
>According to my calculator, 'hf**'ha = 86430aac61,
>which should have been truncated to "ac61" ?
 
 Well, 21 is the result truncated to 6 bits. Perhaps someone thought
 the result would be 6 bits when they calculated the original result.
 Note that the widest object if the LHS is not considered is 6 bits.
 Perhaps the comment got fixed to say the width was 16 bits, but the
 resulting printed value did not get adjusted accordingly.
 
 Steven Sharp
 sharp@cadence.com
 



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:47 PDT and
sponsored by Boyd Technology, Inc.