Module Name:src
Committed By: christos
Date: Fri Oct 4 12:08:33 UTC 2019
Modified Files:
src/sys/arch/acorn32/acorn32: rpc_machdep.c
Log Message:
undo previous, requested by uwe
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/acorn32/acorn32/r
Module Name:src
Committed By: christos
Date: Fri Oct 4 12:08:33 UTC 2019
Modified Files:
src/sys/arch/acorn32/acorn32: rpc_machdep.c
Log Message:
undo previous, requested by uwe
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/acorn32/acorn32/r
On Fri, Oct 04, 2019 at 04:57:51 +0200, Kamil Rytarowski wrote:
> At least in certain domains of engineering 0 is a special case as it
> does not need unit (km, lumen, kg, ...) neither base (hex, dec, ..).
>
> It is natural (correct, expected) to print %#x for 0 as 0, without 0x.
I'm happy for t
On Thu, Oct 03, 2019 at 22:09:28 -0400, Christos Zoulas wrote:
> Thanks, and zero is special for 0#. Should I revert it?
Yes, please.
> > On Oct 3, 2019, at 10:06 PM, Valery Ushakov wrote:
> >
> >
> >> Modified Files:
> >>src/sys/arch/acorn32/acorn32: rpc_machdep.c
> >>
> >> Log Message
At least in certain domains of engineering 0 is a special case as it
does not need unit (km, lumen, kg, ...) neither base (hex, dec, ..).
It is natural (correct, expected) to print %#x for 0 as 0, without 0x.
On 04.10.2019 04:09, Christos Zoulas wrote:
> Thanks, and zero is special for 0#. Should
Thanks, and zero is special for 0#. Should I revert it?
christos
> On Oct 3, 2019, at 10:06 PM, Valery Ushakov wrote:
>
>
>> Modified Files:
>> src/sys/arch/acorn32/acorn32: rpc_machdep.c
>>
>> Log Message:
>> change 0x% -> %x
>
> This should read %#x.
> And this is wrong.
>
> 1) With
> Modified Files:
> src/sys/arch/acorn32/acorn32: rpc_machdep.c
>
> Log Message:
> change 0x% -> %x
This should read %#x.
And this is wrong.
1) With # the 0x is part of the width, so
0x%08x -> 0x0001
%#08x -> 0x01
0x 0x0001
0x01
2) # doesn't add pref
Module Name:src
Committed By: christos
Date: Fri Oct 4 01:53:58 UTC 2019
Modified Files:
src/sys/arch/acorn32/acorn32: rpc_machdep.c
Log Message:
change 0x% -> %x
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/acorn32/acorn32/rpc_machdep.c
P
Module Name:src
Committed By: christos
Date: Fri Oct 4 01:53:58 UTC 2019
Modified Files:
src/sys/arch/acorn32/acorn32: rpc_machdep.c
Log Message:
change 0x% -> %x
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/acorn32/acorn32/rpc_machdep.c
P