Re: formatting numeric output

[email protected] (J. David Boyd)
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <[email protected]>
Anton Ertl
<anton-8NJIiSa5LzB3ZGU3T6kWFyEcasqEdqbRs2V0tQ3P5b8@public.gmane.org> 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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.