[DTC PATCH] Add support for decimal, octal and binary based cell values.

Segher Boessenkool segher at kernel.crashing.org
Fri Feb 16 21:21:19 EST 2007


> Why do we need yet another syntax?  Everyone
> else, including most silicon documentation, uses
> the standard "C" syntax 0x for hex, 0 for octal, and
> nothing for decimal.

[Completely off-topic]

You're joking, right?  Many docs use 1234h for hex and
1011b for binary; or $1234 for hex and %1011 for binary;
or x'1234 and b'1011; or 1234_{(16)} and 1011_{(2)} (TeX
notation -- base as decimal in a parenthesised subscript);
etc. etc. etc.

Almost all computer languages use something more sane
than the C-family stuff too (esp. the dreaded "0 is
octal" thing is not exactly great).

Anyway, really off-topic :-)


Segher




More information about the Linuxppc-dev mailing list