Theory and C++

Discussion in 'C++' started by reetesh.mukul@gmail.com, Sep 13, 2006.

  1. Guest

    Hi All,

    Here is my trial to work with some theory related to the junction at
    which programming language's (here C++)constructs and the area to which
    they are applied meet. The first web page in this direction is:-

    http://reetesh.mukul.googlepages.com/complexnumbers (please see this
    only, for now)

    I will edit this page --

    http://reetesh.mukul.googlepages.com/ (please note down this link)

    for links to pages that I will write.

    I know there will be some viewing problems for now, but I will check
    them with time.

    I am basically working with theory, there is no inherent application I
    am currently looking for description on these pages.

    I know there are some flow problems on my page. Please try to use links
    provided on it. I will be extremely happy if you will provide some help
    or pointers about the page arrangement and subject matter. I have tried
    my best to be technically correct, but please mention if any thing is
    erroneous on the page.

    Please suggest related topics.

    With Regards,
    Reetesh Mukul
     
    , Sep 13, 2006
    #1
    1. Advertising

  2. wrote:
    > Here is my trial to work with some theory related to the junction at
    > which programming language's (here C++)constructs and the area to
    > which they are applied meet. The first web page in this direction is:-
    >
    > http://reetesh.mukul.googlepages.com/complexnumbers (please see this
    > only, for now)
    >
    > [..] please mention if
    > any thing is erroneous on the page.


    The sequence of powers of 2 that supposedly leads to -1/3 doesn't seem
    right. Please review that formula.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask
     
    Victor Bazarov, Sep 13, 2006
    #2
    1. Advertising

  3. Kai-Uwe Bux Guest

    [OT] Re: Theory and C++

    Victor Bazarov wrote:

    > wrote:
    >> Here is my trial to work with some theory related to the junction at
    >> which programming language's (here C++)constructs and the area to
    >> which they are applied meet. The first web page in this direction is:-
    >>
    >> http://reetesh.mukul.googlepages.com/complexnumbers (please see this
    >> only, for now)
    >>
    >> [..] please mention if
    >> any thing is erroneous on the page.

    >
    > The sequence of powers of 2 that supposedly leads to -1/3 doesn't seem
    > right. Please review that formula.


    Actually, that is "correct". I think, that equation deals with 2-adic
    integers, of which you may think as binary numbers with infinitely many
    digits (but no fractional part). Ordinary counting number are included as
    those infinite sequences that are constant 0 far to the left. In that
    system, you can think of

    ...11111111111111111111111111111111111

    as -1 because:

    ...1111111111111111111111111111111111
    + ...0000000000000000000000000000000001
    =======================================
    ...0000000000000000000000000000000000

    (the carry is carried away to infinity where it disappears like all problems
    that you can push off for an infinite amount of time).

    Then

    -1 = ...1010101010101010101010 + ...0101010101010101
    = ...00000000000000011 * ...01010101010101
    = 3 * ....01010101010101010

    Kind of strange, but it works.



    Best

    Kai-Uwe Bux
     
    Kai-Uwe Bux, Sep 14, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ron Weldy
    Replies:
    2
    Views:
    388
    Kristofer Gafvert
    Jan 29, 2005
  2. Barak
    Replies:
    0
    Views:
    844
    Barak
    Aug 7, 2003
  3. Replies:
    7
    Views:
    4,292
  4. xeyder
    Replies:
    2
    Views:
    350
    Keith Thompson
    Nov 15, 2005
  5. xeyder
    Replies:
    2
    Views:
    318
    Dave Townsend
    Nov 17, 2005
Loading...

Share This Page