Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > calculating of square roots ?
2006-06-29 00:59
Trifox
Account closed

Registered: Mar 2006
Posts: 108
calculating of square roots ?

hi all, for my newest project i am in urgent need to calculate the length of a 2d vector, reminding pythagorian math i remember that i have to calculate the roots of a fixed point (8bits.8bits) number, how can that be mastered in a convenient way ?!?!?!

thx
 
... 92 posts hidden. Click here to view all posts....
 
2006-07-05 20:06
Tch
Account closed

Registered: Sep 2004
Posts: 512
"Don´t think too much about things,it will influence the outcome.
Thus there is no absolute truth."

Sorry,read this somewhere and I couldn´t resist. ;)
2006-07-05 21:49
Graham
Account closed

Registered: Dec 2002
Posts: 990
Quantum theory stays assumed right until somebody proves it wrong. That's the way of science.

Anyway, talking about "infinitely long" or "unlimited decimals" makes me oppose. There is no such timepoint called "infinity". Every point-of-time you can come up with is still a pretty finite point-of-time and the same applies to decimals. Every decimal number you can write down is a decimal with limited length, or else it is no decimal anymore. (Infinity might be weird, but unboundedness is not. And only the 2nd one exists.)
2006-07-06 03:46
chatGPZ

Registered: Dec 2001
Posts: 11497
i think we should point monk at this thread.
2006-07-06 09:04
enthusi

Registered: May 2004
Posts: 679
I agree with me and graham here :)
If you wait infinitely long, well you do wait infinitely long.
No 'result' ever :)

Edit: Oh, I agree with groepaz too
2006-07-06 11:03
Copyfault

Registered: Dec 2001
Posts: 483
Speaking of math and infinity...

Some fields medalist (this is a mathmatician with some kind of noble price) once said that there is no characteristic 0 in the real world, but rather a finite characteristic within the number fields we use for calc'ing things...

might be if we take a big enough prime ;))
2006-07-06 12:31
Cruzer

Registered: Dec 2001
Posts: 1049
As far as I know, noone has ever been able to come up with a proper definition for numbers, (i.e. what is 0 and 1, etc.), so they probably don't even exist in the real world.
2006-07-06 13:06
enthusi

Registered: May 2004
Posts: 679
yeah, like love <3
2006-07-06 14:33
Copyfault

Registered: Dec 2001
Posts: 483
@Cruzer: there are Peano's axioms which give us a good start at least for a definition of a set we usually refer to as "natural numbers". The funny thing about it is that even today there are some mathmaticians who consider the element "0" to be part of \N, whereas others do not!

So you're not that wrong when saying there's no proper def;)) Btw, isn't all pure math disjoint to the real world?
2006-07-06 14:47
Graham
Account closed

Registered: Dec 2002
Posts: 990
Well if you make something like numbers up, they "exist". You can easily come up with lot's of different axioms which are all equally right. The only thing which is leading us to the current axioms used for math is the optimizations towards an orthogonal math with as few as possible extra rules for operations.
2006-07-06 14:58
Cruzer

Registered: Dec 2001
Posts: 1049
Isn't the problem with axioms that it's basically assumptions. So when you build something on a foundation of axioms, the whole validity of what you build up relies on assumptions. And since math is built on axioms like "we assume that there is something called 0 and 1" which noone can define, it's just assumed that they exist, then the validity of math itself cannot be proven.

Or maybe I'm just making up excuses why I had so low math grades in school. :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Flex/Artline Designs
rime/Fancy Rats
stephan-a
Mythus/Delysid
Abynx/Wavefx
Twoflower/ΤRIΛD
G-Fellow/CODE7
Guests online: 97
Top Demos
1 Next Level  (9.7)
2 Signal Carnival  (9.7)
3 13:37  (9.7)
4 Codeboys & Endians  (9.7)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Mojo  (9.6)
8 The Trip  (9.6)
9 What Is The Matrix 2  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Nine  (9.8)
2 Charflasher 100%  (9.6)
3 Layers  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Censor Design  (9.2)
5 Artline Designs  (9.2)
Top Musicians
1 Conrad  (9.7)
2 Reyn Ouwehand  (9.7)
3 Stinsen  (9.7)
4 LMan  (9.7)
5 Rob Hubbard  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.071 sec.