[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gforth] formatting numeric output
From: |
J. David Boyd |
Subject: |
Re: [gforth] formatting numeric output |
Date: |
Thu, 08 Feb 2018 09:41:01 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (cygwin) |
Anton Ertl
<address@hidden> writes:
> On Wed, Feb 07, 2018 at 08:10:20PM +0100, Marcos Cruz wrote:
>> En/Je/On 2018-02-07 13:02, J. David Boyd escribió / skribis / wrote :
>>
>> > Is there an easier way to do this?
>>
>> The zero should be replaced with `s>d`.
>
> 0 is correct for 0-extending (what is probably desired here), S>D
> would be correct for sign-extending.
>
> - anton
Yes, 0-extending is what I wanted to do. Thanks!