binary constants (??)

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Nov 30 06:56:02 AEST 1989


In article <20989 at mimsy.umd.edu> chris at mimsy.umd.edu (Chris Torek) writes:
>... move toward abstracts.  Those of you who are trying to design `D'
>(or `P') might consider dumping 0-octal and 0x-hex in favour of
>something sane, like <base>r<text>, 2r11001 = 8r31 = 25 = 16r19.

Don't forget to support negative bases, and (oo, oo!) while you're at
it how about Fibonacci numeration systems.  Think how useful they
would be!



More information about the Comp.lang.c mailing list