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-06 03:46
chatGPZ

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

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

Registered: Dec 2001
Posts: 466
@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. :)
2006-07-06 15:05
enthusi

Registered: May 2004
Posts: 675
Doesnt matter where you put 0.
Well, thats not due to impotence but just a matter of convention.
And nothing is or ever will be more precise than math. The only true selfconsistent philosophy you will find.
Its flawless in itself ;)
And the axioms needed are pretty basic and less than one might think.
"basic" as in what people like to call 'obvious'.
Of all things you cant question math :)
And second least questionable is physics btw :)
And both are on top of every critics list for some strange reason.

edit:
and before someone claims that it can be questioned: sure, but nothing is less questionable. Even the assumption that you exist leads to more open ends and inconsistencies than math.
2006-07-06 15:27
Trifox
Account closed

Registered: Mar 2006
Posts: 108
0 is the neutral element of addition, where 1 is the neutral element of multiplikation ... both operators together form a nice body ... :)
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
Freestyle/Illusion
Steveboy
Apollyon/ALD
Mr SQL
iAN CooG/HVSC
Guests online: 69
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

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