Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Theory and C++

Reply
Thread Tools

Theory and C++

 
 
reetesh.mukul@gmail.com
Guest
Posts: n/a
 
      09-13-2006
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

 
Reply With Quote
 
 
 
 
Victor Bazarov
Guest
Posts: n/a
 
      09-13-2006
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


 
Reply With Quote
 
 
 
 
Kai-Uwe Bux
Guest
Posts: n/a
 
      09-13-2006
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
REVIEW: "SSL and TLS: Theory and Practice", Rolf Oppliger Rob Slade, doting grandpa of Ryan and Trevor Computer Security 0 07-07-2010 11:41 PM
Synchronizer theory and question moogyd@yahoo.co.uk VHDL 7 12-07-2006 05:55 PM
Secure sites... and the theory of relativity Ron Weldy ASP .Net 2 01-29-2005 10:25 AM
New book on Information Theory and State-of-the-art Coding Theory David MacKay VOIP 0 11-05-2003 10:42 PM
JGraphT - a free Java library of graph-theory objects and algorithms Barak Java 0 08-07-2003 10:07 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57