On 30-12-11 01:46, Kip Murray wrote: > Sometimes we do things just for fun. Yes! (homo ludens).
For me: don't change #. If you want to: then I prefer Dan Bron's approach (as applied in brAai for base 2). And furthermore: it can be a nice exercise to emulate 2-complement arithmetic (asking with or without using negative bits ?). > > Kip > > On 12/29/2011 6:00 PM, Devon McCormick wrote: >> I'm not sure about the entire basis of this discussion: #. and #: are >> beautiful; the attempts to emulate them - not so much. >> >> On Thu, Dec 29, 2011 at 6:32 PM, Skip Cave<s...@caveconsulting.com> wrote: >> >>> 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 >>> >> >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- Met vriendelijke groet, @@i = Arie Groeneveld ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm