Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.misc > #11714

Re: The beauty of bitwise AND (? or &)

From Louis Krupp <lkrupp@nospam.pssw.com.invalid>
Newsgroups comp.misc
Subject Re: The beauty of bitwise AND (? or &)
Message-ID <chseqblasfabhpduomm719bs7k1b258b8k@4ax.com> (permalink)
References <no00nt$48q$1@solani.org> <no56uf$nf$1@solani.org>
Organization Newshosting.com - Highest quality at a great price! www.newshosting.com
Date 2016-08-07 11:39 -0600

Show all headers | View raw


On Sat, 6 Aug 2016 17:31:59 +0000 (UTC), RS Wood <rsw@therandymon.com>
wrote:

>On 2016-08-04, RS Wood <rsw@therandymon.com> wrote:
>> https://medium.com/biffures/part-2-the-beauty-of-bitwise-and-or-cd
>
>Self replying as a pretext to fix the busted URL.

How's this?

https://medium.com/biffures/part-2-the-beauty-of-bitwise-and-or-cdf1d8d87891#.99nr0b1ac

>>
>>
>> Visualizing math.  This graphic is so interesting.
>>
>> //--clip
>> The horizontal axis is for values of the first operand a; the
>>  vertical axis is for values of the second one b; values in cells
>>  is the result of f(a,b) = a ? b.
>> This chart has striking features that we did not foresee in our
>>  preliminary analysis. Observations:
>> There are distinct patterns along rows and columns (01010101… in
>>  the first row, 02200220022…in the second row).
>> Patterns for rows which are powers of 2 (1, 2, 4, 8, 16) are
>>  special, with only zeroes before the bisector and only the row
>>  number after we hit the next power of 2.
>> //--clip

Louis

Back to comp.misc | Previous | NextPrevious in thread | Find similar


Thread

The beauty of bitwise AND (∧ or &) RS Wood <rsw@therandymon.com> - 2016-08-04 14:15 -0400
  Re: The beauty of bitwise AND (∧ or &) RS Wood <rsw@therandymon.com> - 2016-08-06 17:31 +0000
    Re: The beauty of bitwise AND (? or &) Louis Krupp <lkrupp@nospam.pssw.com.invalid> - 2016-08-07 11:39 -0600

csiph-web