Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user eightbitswide ! (Registered 2024-12-24) 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: 11386
i think we should point monk at this thread.
2006-07-06 09:04
enthusi

Registered: May 2004
Posts: 677
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: 478
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: 1048
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: 677
yeah, like love <3
2006-07-06 14:33
Copyfault

Registered: Dec 2001
Posts: 478
@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: 1048
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
CreaMD/React
E$G/HF ⭐ 7
Scan/House Designs
Guests online: 80
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 X-Mas Demo 2024  (9.5)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.038 sec.