I'm not sure why there is so much discussion on placing negative signs
interspersed among the digits. Why can't binary numbers be represented just
like any other base numbers?

4 base 10 = 100 base 2 = 1 base 4
_4 base 10 = _100 base 2 = _1 base 4

100 base 10 = 1100100 base 2 = 1204 base 4
_100 base 10 = _1100100 base 2 = _1204 base 4

A single negative sign in front of the digits represents a negative number,
no matter what base it is in.

Leading zeros don't affect the process..

004 base 10 = 100 base 2 = 001 base 4
_004 base 10 = _100 base 2 = _001 base 4

Skip
.

On Thu, Dec 29, 2011 at 2:30 AM, Aai <agroeneveld...@gmail.com> wrote:

>
>
> On 28-12-11 19:46, Kip Murray wrote:
> > It looks pretty to me.  Linda will like your treatment of negatives.
> >
> > brAai =: (**|.@:(2| [:}:<.@-:^:a: )&.|:@:|)`,@.(0-:])
>
> Thanks for composing this beautiful the verb name 'braai' that is
> Zuidafrikaans for barbecue.
>
> --
> Met vriendelijke groet,
> @@i = Arie Groeneveld
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Skip Cave
Cave Consulting LLC
Phone: 214-460-4861
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to